[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141126.153736.1815789848350571029.davem@davemloft.net>
Date: Wed, 26 Nov 2014 15:37:36 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, mst@...hat.com, vyasevic@...hat.com
Subject: Re: [PATCH net-next] macvlan: delay the header check for dodgy
packets into lower device
From: Jason Wang <jasowang@...hat.com>
Date: Wed, 26 Nov 2014 17:21:14 +0800
> We do header check twice for a dodgy packet. One is done before
> macvlan_start_xmit(), another is done before lower device's
> ndo_start_xmit(). The first one seems redundant so this patch tries to
> delay header check until a packet reaches its lower device (or macvtap)
> through always enabling NETIF_F_GSO_ROBUST for macvlan device.
>
> Cc: Patrick McHardy <kaber@...sh.net>
> Signed-off-by: Jason Wang <jasowang@...hat.com>
Hmmm, it's the idea that if we have a dodgy packet, we want to
notice that as early as possible in the packet processing path?
--
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