mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-13 17:28:56 +00:00
OVS: remove VLAN_TAG_PRESENT - fixup
It turns out I missed one VLAN_TAG_PRESENT in OVS code while rebasing. This fixes it. Fixes: 9df46aefafa6 ("OVS: remove use of VLAN_TAG_PRESENT") Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
12ceaf8864
commit
6083e28aa0
@ -597,7 +597,7 @@ static int key_extract(struct sk_buff *skb, struct sw_flow_key *key)
|
||||
* skb_vlan_pop(), which will later shift the ethertype into
|
||||
* skb->protocol.
|
||||
*/
|
||||
if (key->eth.cvlan.tci & htons(VLAN_TAG_PRESENT))
|
||||
if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK))
|
||||
skb->protocol = key->eth.cvlan.tpid;
|
||||
else
|
||||
skb->protocol = key->eth.type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user