linux/net/8021q
Patrick McHardy acc81e1465 vlan: fix network_header/mac_header adjustments
Lennert Buytenhek points out that the VLAN code incorrectly adjusts
skb->network_header to point in the middle of the VLAN header and
additionally tries to adjust skb->mac_header without checking for
validity.

The network_header should not be touched at all since we're only
adding headers in front of it, mac_header adjustments are not
necessary at all.

Based on patch by Lennert Buytenhek <buytenh@wantstofly.org>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-08 03:21:27 -07:00
..
Kconfig vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
Makefile vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlan.c vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlan.h vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlan_dev.c vlan: fix network_header/mac_header adjustments 2008-07-08 03:21:27 -07:00
vlan_gvrp.c vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlan_netlink.c vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
vlanproc.c vlan: assign PDE->data before gluing PDE into /proc tree 2008-05-02 04:09:11 -07:00
vlanproc.h [VLAN]: Add a net argument to proc init and cleanup calls. 2008-04-16 00:51:12 -07:00