commit | 72ec108d701506fa6cd2f66ec5b15ea71df3c464 | [log] [tgz] |
---|---|---|
author | Jiri Benc <jbenc@redhat.com> | Mon Oct 10 17:02:43 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 13 10:03:23 2016 -0400 |
tree | beb6ca2c112efd4ec175f6b51aeba5986c637315 | |
parent | 20ecf1e4e30005ad50f561a92c888b6477f99341 [diff] |
openvswitch: fix vlan subtraction from packet length When the packet has its vlan tag in skb->vlan_tci, the length of the VLAN header is not counted in skb->len. It doesn't make sense to subtract it. Fixes: 018c1dda5ff1 ("openvswitch: 802.1AD Flow handling, actions, vlan parsing, netlink attributes") Signed-off-by: Jiri Benc <jbenc@redhat.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Eric Garver <e@erig.me> Signed-off-by: David S. Miller <davem@davemloft.net>