Re: [PATCH v3 2/2] net/core: dev_forward_skb() should clear skb_iif

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From: Benjamin LaHaise <bcrl@xxxxxxxxx>
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@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Kernel Discussion]     [Ethernet Bridging]     [Linux Wireless Networking]     [Linux Bluetooth Networking]     [Linux Networking Users]     [VLAN]     [Git]     [IETF Annouce]     [Linux Assembly]     [Security]     [Bugtraq]     [Photo]     [Singles Social Networking]     [Yosemite Information]     [MIPS Linux]     [ARM Linux Kernel]     [ARM Linux]     [Linux Virtualization]     [Linux Security]     [Linux IDE]     [Linux RAID]     [Linux SCSI]     [Free Dating]

Add to Google Powered by Linux