lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <487606DD.8000804@fr.ibm.com>
Date:	Thu, 10 Jul 2008 14:55:57 +0200
From:	Daniel Lezcano <dlezcano@...ibm.com>
To:	"Denis V. Lunev" <den@...nvz.org>
CC:	davem@...emloft.net, netdev@...r.kernel.org,
	yoshfuji@...ux-ipv6.org, benjamin.thery@...l.net,
	"Denis V. Lunev" <den@...allels.com>
Subject: Re: [PATCH 1/1] ipv6: missed namespace context in ipv6_rthdr_rcv

Denis V. Lunev wrote:
> Signed-off-by: Denis V. Lunev <den@...allels.com>
> ---
>  net/ipv6/exthdrs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c
> index 3cd1c99..dcf94fd 100644
> --- a/net/ipv6/exthdrs.c
> +++ b/net/ipv6/exthdrs.c
> @@ -445,7 +445,7 @@ looped_back:
>  			kfree_skb(skb);
>  			return -1;
>  		}
> -		if (!ipv6_chk_home_addr(&init_net, addr)) {
> +		if (!ipv6_chk_home_addr(dev_net(skb->dst->dev), addr)) {
>  			IP6_INC_STATS_BH(ip6_dst_idev(skb->dst),
>  					 IPSTATS_MIB_INADDRERRORS);
>  			kfree_skb(skb);

Thanks Denis :)
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ