netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: david_mccullough@mcafee.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] net/ipv6/route.c: packets originating on device match lo
Date: Mon, 25 Jun 2012 16:28:32 -0700 (PDT)	[thread overview]
Message-ID: <20120625.162832.804773711822642700.davem@davemloft.net> (raw)
In-Reply-To: <20120625065030.GA28914@mcafee.com>

From: David McCullough <david_mccullough@mcafee.com>
Date: Mon, 25 Jun 2012 16:50:30 +1000

> @@ -931,6 +931,9 @@ struct dst_entry * ip6_route_output(stru
>  {
>  	int flags = 0;
>  
> +	if (fl6->flowi6_iif == 0)
> +		fl6->flowi6_iif = net->loopback_dev->ifindex;
> +		

Like ipv4, you should make this assignment unconditionally.

Thanks.

  reply	other threads:[~2012-06-25 23:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25  6:50 [PATCH] net/ipv6/route.c: packets originating on device match lo David McCullough
2012-06-25 23:28 ` David Miller [this message]
2012-06-26  1:38   ` David McCullough

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=20120625.162832.804773711822642700.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=david_mccullough@mcafee.com \
    --cc=netdev@vger.kernel.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).