[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071216.134015.232602731.davem@davemloft.net>
Date: Sun, 16 Dec 2007 13:40:15 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yjwei@...fujitsu.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] IPv6: Fix the return value of ipv6_getsockopt
From: Wei Yongjun <yjwei@...fujitsu.com>
Date: Thu, 13 Dec 2007 14:44:00 +0900
> 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@...fujitsu.com>
Patch applied to net-2.6, thanks for this bug fix.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists