https://github.com/torvalds/linux
Revision 95b496b66615d8c43f77702049b1bd01e2f06595 authored by Yang Hongyang on 28 May 2008, 08:27:28 UTC, committed by YOSHIFUJI Hideaki on 04 June 2008, 19:02:35 UTC
 If get destination options with length which is not enough for that
option,getsockopt() will still return the real length of the option,
which is larger then the buffer space.
 This is because ipv6_getsockopt_sticky() returns the real length of
the option.

This patch fix this problem.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
1 parent 05335c2
History
Tip revision: 95b496b66615d8c43f77702049b1bd01e2f06595 authored by Yang Hongyang on 28 May 2008, 08:27:28 UTC
[IPV6]: Fix the data length of get destination options with short length
Tip revision: 95b496b
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 686 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.3 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top