summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2008-08-04 03:16:15 +0200
committerDavid S. Miller <davem@davemloft.net>2008-08-04 03:16:15 +0200
commitcfb266c0ee0ea0b7bfa8189e3a3a80344dec6112 (patch)
tree89989c670a92740f511486dd60e5aa14397d44b1 /samples
parentipv6: syncookies: free reqsk on xfrm_lookup error (diff)
downloadlinux-cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112.tar.xz
linux-cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112.zip
ipv6: Fix the return value of Set Hop-by-Hop options header with NULL data pointer
When Set Hop-by-Hop options header with NULL data pointer and optlen is not zero use setsockopt(), the kernel successfully return 0 instead of return error EINVAL or EFAULT. This patch fix the problem. Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions