diff options
| author | YOSHIFUJI Hideaki <[email protected]> | 2008-06-11 18:27:26 +0000 |
|---|---|---|
| committer | YOSHIFUJI Hideaki <[email protected]> | 2008-06-12 00:19:09 +0000 |
| commit | 1717699cd5130009b7cd6756e883d8582c1fe706 (patch) | |
| tree | 884f77b16c05578522eb4d8ad8d585eb008df60d /lib/debugobjects.c | |
| parent | ipv6: Check IPV6_MULTICAST_LOOP option value. (diff) | |
| download | kernel-1717699cd5130009b7cd6756e883d8582c1fe706.tar.gz kernel-1717699cd5130009b7cd6756e883d8582c1fe706.zip | |
ipv6: Fail with appropriate error code when setting not-applicable sockopt.
IPV6_MULTICAST_HOPS, for example, is not valid for stream sockets.
Since they are virtually unavailable for stream sockets,
we should return ENOPROTOOPT instead of EINVAL.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
