diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-10-09 14:58:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 14:58:54 -0400 |
commit | c95b819ad75b13102139aad0e7062d927be23cc6 (patch) | |
tree | 22b21d4c56f24ae1a33617099e2708a9d8f012ef /net/ieee80211/Kconfig | |
parent | ec2a5652ea53c102306f08cdf516f98e32bd4b61 (diff) |
gre: Use needed_headroom
Now that we have dev->needed_headroom, we can use it instead of
having a bogus dev->hard_header_len. This also allows us to
include dev->hard_header_len in the MTU computation so that when
we do have a meaningful hard_harder_len in future it is included
automatically in figuring out the MTU.
Incidentally, this fixes a bug where we ignored the needed_headroom
field of the underlying device in calculating our own hard_header_len.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee80211/Kconfig')
0 files changed, 0 insertions, 0 deletions