diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-11 20:27:26 +0200 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-12 02:19:09 +0200 |
commit | 1717699cd5130009b7cd6756e883d8582c1fe706 (patch) | |
tree | 884f77b16c05578522eb4d8ad8d585eb008df60d /drivers/net/smc911x.c | |
parent | ipv6: Check IPV6_MULTICAST_LOOP option value. (diff) | |
download | linux-1717699cd5130009b7cd6756e883d8582c1fe706.tar.xz linux-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 <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'drivers/net/smc911x.c')
0 files changed, 0 insertions, 0 deletions