From: Patrick McHardy Date: Mon, 9 Apr 2007 18:47:58 +0000 (-0700) Subject: [XFRM]: beet: fix worst case header_len calculation X-Git-Tag: v2.6.22-rc1~1128^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac758e3c55c529714354fc268892ca4d23ca1e99;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed