[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120328.044614.1663135683027279533.davem@davemloft.net>
Date: Wed, 28 Mar 2012 04:46:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: bcrl@...ck.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v3 2/2] net/core: dev_forward_skb() should clear skb_iif
From: Benjamin LaHaise <bcrl@...ck.org>
Date: Tue, 27 Mar 2012 21:55:44 -0400
> While investigating another bug, I found that the code on the incoming path
> in __netif_receive_skb will only set skb->skb_iif if it is already 0. When
> dev_forward_skb() is used in the case of interfaces like veth, skb_iif may
> already have been set. Making dev_forward_skb() cause the packet to look
> like a newly received packet would seem to the the correct behaviour here,
> as otherwise the wrong incoming interface can be reported for such a packet.
>
> Signed-off-by: Benjamin LaHaise <bcrl@...ck.org>
Applied.
--
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