]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit243aad830e8a4cdda261626fbaeddde16b08d04a
tree3c8de91b5249846dede05c1a3a74387e0eda0470
parent9bf35c8dddd56f7f247a27346f74f5adc18071f4
ip_gre: include route header_len in max_headroom calculation

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>
net/ipv4/ip_gre.c