diff options
author | Wei Yongjun <yjwei@cn.fujitsu.com> | 2007-12-16 16:39:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-12-16 16:39:57 -0500 |
commit | cf6fc4a92400decda932e5ab97b46916919142b1 (patch) | |
tree | c2586cf2d1f2261533696607ff67925cab26853b /net/irda | |
parent | 3ae412544cde6d987e0e48778bd87bc96a5749df (diff) |
[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 <yjwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda')
0 files changed, 0 insertions, 0 deletions