From: Wei Yongjun Date: Sun, 16 Dec 2007 21:39:57 +0000 (-0800) Subject: [IPV6]: Fix the return value of ipv6_getsockopt X-Git-Tag: v2.6.24-rc6~67^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf6fc4a92400decda932e5ab97b46916919142b1;p=pandora-kernel.git [IPV6]: Fix the return value of ipv6_getsockopt If CONFIG_NETFILTER if not selected when compile the kernel source code, ipv6_getsockopt will returen an EINVAL error if optname is not supported by the kernel. But if CONFIG_NETFILTER is selected, ENOPROTOOPT error will be return. This patch fix to always return ENOPROTOOPT error if optname argument of ipv6_getsockopt is not supported by the kernel. Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- Reading git-diff-tree failed