aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlanproc.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-07-08 03:21:27 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-08 03:21:27 -0700
commitacc81e1465d29e0284008770cc4b8bc90bd93bd7 (patch)
tree7580b619f82a6ae13c425051c305b7d5501e201d /net/8021q/vlanproc.c
parentirda: Remove useless pm_dev references (diff)
downloadlinux-dev-acc81e1465d29e0284008770cc4b8bc90bd93bd7.tar.xz
linux-dev-acc81e1465d29e0284008770cc4b8bc90bd93bd7.zip
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>
Diffstat (limited to 'net/8021q/vlanproc.c')
0 files changed, 0 insertions, 0 deletions