[NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer
authorPatrick McHardy <kaber@trash.net>
Wed, 22 Mar 2006 21:53:20 +0000 (13:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2006 21:53:20 +0000 (13:53 -0800)
commit443da0d52766ef8ed50b59673ac7ea6aa6e9218c
tree27cb008a21de0e70b848cc88a8050ce00cb6923d
parent1c2e02750b992703a8a18634e08b04353face243
[NETFILTER]: Fix ip6tables breakage from {get,set}sockopt compat layer

do_ipv6_getsockopt returns -EINVAL for unknown options, not
-ENOPROTOOPT as do_ipv6_setsockopt.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ipv6_sockglue.c