diff options
| author | Yang Hongyang <[email protected]> | 2008-08-04 01:16:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-08-04 01:16:15 +0000 |
| commit | cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112 (patch) | |
| tree | 89989c670a92740f511486dd60e5aa14397d44b1 /scripts/patch-kernel | |
| parent | ipv6: syncookies: free reqsk on xfrm_lookup error (diff) | |
| download | kernel-cfb266c0ee0ea0b7bfa8189e3a3a80344dec6112.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
