commit | 1717699cd5130009b7cd6756e883d8582c1fe706 | [log] [tgz] |
---|---|---|
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Thu Jun 12 03:27:26 2008 +0900 |
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | Thu Jun 12 09:19:09 2008 +0900 |
tree | 884f77b16c05578522eb4d8ad8d585eb008df60d | |
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>