diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-12 03:27:26 +0900 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-12 09:19:09 +0900 |
commit | 1717699cd5130009b7cd6756e883d8582c1fe706 (patch) | |
tree | 884f77b16c05578522eb4d8ad8d585eb008df60d /drivers/macintosh/apm_emu.c | |
parent | 28d4488216645cd71402925cffde9528b0cfdb7e (diff) |
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/macintosh/apm_emu.c')
0 files changed, 0 insertions, 0 deletions