From 09df57ca604512b29b6096afb381c839ccbd2912 Mon Sep 17 00:00:00 2001 From: Eric Dumazet Date: Fri, 7 Oct 2011 05:45:57 +0000 Subject: [PATCH] l2tp: give proper headroom in pppol2tp_xmit() pppol2tp_xmit() calls skb_cow_head(skb, 2) before calling l2tp_xmit_skb() Then l2tp_xmit_skb() calls again skb_cow_head(skb, large_headroom) This patchs changes the first skb_cow_head() call to supply the needed headroom to make sure at most one (expensive) pskb_expand_head() is done. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-format-patch failed