From: YOSHIFUJI Hideaki Date: Wed, 11 Jun 2008 18:27:26 +0000 (+0900) Subject: ipv6: Fail with appropriate error code when setting not-applicable sockopt. X-Git-Tag: v2.6.26-rc7~40^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1717699cd5130009b7cd6756e883d8582c1fe706;p=pandora-kernel.git 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 --- Reading git-diff-tree failed