From: Daniel Lezcano <dlezcano@fr.ibm.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: davem@davemloft.net, netdev@vger.kernel.org,
yoshfuji@linux-ipv6.org, benjamin.thery@bull.net,
"Denis V. Lunev" <den@parallels.com>
Subject: Re: [PATCH 1/1] ipv6: missed namespace context in ipv6_rthdr_rcv
Date: Thu, 10 Jul 2008 14:55:57 +0200 [thread overview]
Message-ID: <487606DD.8000804@fr.ibm.com> (raw)
In-Reply-To: <1215691748-17151-1-git-send-email-den@openvz.org>
Denis V. Lunev wrote:
> Signed-off-by: Denis V. Lunev <den@parallels.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 :)
next prev parent reply other threads:[~2008-07-10 12:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 12:09 [PATCH 1/1] ipv6: missed namespace context in ipv6_rthdr_rcv Denis V. Lunev
2008-07-10 12:55 ` Daniel Lezcano [this message]
2008-07-10 23:55 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=487606DD.8000804@fr.ibm.com \
--to=dlezcano@fr.ibm.com \
--cc=benjamin.thery@bull.net \
--cc=davem@davemloft.net \
--cc=den@openvz.org \
--cc=den@parallels.com \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).