ip_gre: include route header_len in max_headroom calculation
authorTimo Teräs <timo.teras@iki.fi>
Sat, 20 Mar 2010 02:27:58 +0000 (02:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2010 04:23:28 +0000 (21:23 -0700)
Taking route's header_len into account, and updating gre device
needed_headroom will give better hints on upper bound of required
headroom. This is useful if the gre traffic is xfrm'ed.

Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found