Re: [PATCH net-next 2/2] net: reset transport header if it was notset before transmission

From: Daniel Borkmann
Date: Tue Mar 19 2013 - 08:58:17 EST


On 03/19/2013 01:13 PM, Eric Dumazet wrote:
On Tue, 2013-03-19 at 17:26 +0800, Jason Wang wrote:
On 03/18/2013 12:13 AM, David Miller wrote:
From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Fri, 15 Mar 2013 19:10:51 -0700

Any way we can avoid adding this to fast path, for people not using
macvtap and ixgbe ?
Likewise I'd rather see macvtap be responsible for fixing this up by
setting the transport header properly, and therfore sending well
formed packets to the rest of the stack.

Ok, haven't checked all other possibility but looks like packet needs to
be fixed also.

Daniel, could you post your patches if ready ?

Yes, will post them in a couple of minutes.

Jason, I believe you could reuse existing flow dissector once Daniel
patches are in.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/