summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorPatrick McHardy2007-04-09 20:47:58 +0200
committerDavid S. Miller2007-04-26 07:28:39 +0200
commitac758e3c55c529714354fc268892ca4d23ca1e99 (patch)
tree05d287a417c04114afa68c2a931f3c212e133e1c /include/linux/skbuff.h
parent[XFRM]: Optimize MTU calculation (diff)
downloadkernel-qcow2-linux-ac758e3c55c529714354fc268892ca4d23ca1e99.tar.gz
kernel-qcow2-linux-ac758e3c55c529714354fc268892ca4d23ca1e99.tar.xz
kernel-qcow2-linux-ac758e3c55c529714354fc268892ca4d23ca1e99.zip
[XFRM]: beet: fix worst case header_len calculation
esp_init_state doesn't account for the beet pseudo header in the header_len calculation, which may result in undersized skbs hitting xfrm4_beet_output, causing unnecessary reallocations in ip_finish_output2. The skbs should still always have enough room to avoid causing skb_under_panic in skb_push since we have at least 16 bytes available from LL_RESERVED_SPACE in xfrm_state_check_space. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
0 files changed, 0 insertions, 0 deletions