1
linux/net/l2tp
Eric Dumazet bfc960a8ee l2tp: test for ethernet header in l2tp_eth_dev_recv()
close https://bugzilla.kernel.org/show_bug.cgi?id=16529

Before calling dev_forward_skb(), we should make sure skb head contains
at least an ethernet header, even if length included in upper layer said
so. Use pskb_may_pull() to make sure this ethernet header is present in
skb head.

Reported-by: Thomas Heil <heil@terminal-consulting.de>
Reported-by: Ian Campbell <Ian.Campbell@eu.citrix.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-26 13:29:38 -07:00
..
Kconfig l2tp: Add debugfs files for dumping l2tp debug info 2010-04-03 14:56:07 -07:00
l2tp_core.c l2tp: fix memory allocation 2010-04-23 16:37:32 -07:00
l2tp_core.h l2tp: unmanaged L2TPv3 tunnels fixes 2010-04-04 01:02:46 -07:00
l2tp_debugfs.c net/l2tp/l2tp_debugfs.c: Convert NIPQUAD to %pI4 2010-04-15 15:37:13 -07:00
l2tp_eth.c l2tp: test for ethernet header in l2tp_eth_dev_recv() 2010-08-26 13:29:38 -07:00
l2tp_ip.c net-next: remove useless union keyword 2010-06-10 23:31:35 -07:00
l2tp_netlink.c l2tp: Add missing semicolon to MODULE_ALIAS() in l2tp_netlink.c 2010-04-03 14:58:07 -07:00
l2tp_ppp.c ppp: make channel_ops const 2010-08-04 21:53:17 -07:00
Makefile l2tp: Add debugfs files for dumping l2tp debug info 2010-04-03 14:56:07 -07:00