diff options
author | pravin shelar <pshelar@ovn.org> | 2016-12-26 08:31:27 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-27 12:28:07 -0500 |
commit | df30f7408b187929dbde72661c7f7c615268f1d0 (patch) | |
tree | 568e6d73d59770d9afbb69fb0ce5844aae65d993 /include | |
parent | 56ab6b93007e5000a8812985aec1833c4a6a9ce0 (diff) | |
download | linux-df30f7408b187929dbde72661c7f7c615268f1d0.tar.gz linux-df30f7408b187929dbde72661c7f7c615268f1d0.tar.bz2 linux-df30f7408b187929dbde72661c7f7c615268f1d0.zip |
openvswitch: upcall: Fix vlan handling.
Networking stack accelerate vlan tag handling by
keeping topmost vlan header in skb. This works as
long as packet remains in OVS datapath. But during
OVS upcall vlan header is pushed on to the packet.
When such packet is sent back to OVS datapath, core
networking stack might not handle it correctly. Following
patch avoids this issue by accelerating the vlan tag
during flow key extract. This simplifies datapath by
bringing uniform packet processing for packets from
all code paths.
Fixes: 5108bbaddc ("openvswitch: add processing of L3 packets").
CC: Jarno Rajahalme <jarno@ovn.org>
CC: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions