On 12-12-21 10:45 AM, Eric Dumazet wrote:
On Fri, 2012-12-21 at 15:35 +0100, Jan Engelhardt wrote:
This reminds me this might be the reason we have skb_reset_transport_header(skb); in __netif_receive_skb(), while its not very logical.
You seem to have nailed the egress part finally. That has been a constant battle. At one point the standard answer was "turn off TSO" ;->
(Yes, sorry for being off topic, but I am referring to http://www.spinics.net/lists/netdev/msg214662.html )
I think the skb_reset_transport_header() when Acme made a major overhaul to replace direct pointer access. For this reason i think your second option seems preferable. cheers, jamal -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html