linux/net/l2tp
Eric Dumazet 09df57ca60 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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-18 23:33:44 -04:00
..
Kconfig
Makefile
l2tp_core.c
l2tp_core.h
l2tp_debugfs.c
l2tp_eth.c
l2tp_ip.c
l2tp_netlink.c
l2tp_ppp.c l2tp: give proper headroom in pppol2tp_xmit() 2011-10-18 23:33:44 -04:00