[Bridge] [PATCH] net/bridge: use the maximum hard_header_len of ports for bridging device

David Miller davem at davemloft.net
Wed Mar 25 14:35:58 PDT 2009


From: Li Yang <leoli at freescale.com>
Date: Wed, 25 Mar 2009 16:43:53 +0800

> Dynamically adjusting is a good idea, but the rx_alloc_extra can only
> go up not the other way down in your code.

That's not a problem.

> Another thought is that if you re-allocate skb here the driver would
> be saved from checking the headroom in the fastpath, am I right?

You're going to need it for other paths.  There are other kinds of
tunnels et al. that eat that headroom space on you.


More information about the Bridge mailing list