[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120626013831.GA3455@mcafee.com>
Date: Tue, 26 Jun 2012 11:38:31 +1000
From: David McCullough <david_mccullough@...fee.com>
To: David Miller <davem@...emloft.net>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH] net/ipv6/route.c: packets originating on device match
lo
Jivin David Miller lays it down ...
> From: David McCullough <david_mccullough@...fee.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.
No problems, will resend, I wasn't so sure that I could do that safely
with the flowi getting passed into IPv6 rather than created as it is in
IPv4. Did some extra testing, looks good so patch to follow,
Thanks,
Davidm
--
David McCullough, david_mccullough@...fee.com, Ph:+61 734352815
McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org
--
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