mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 14:21:47 +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: 9df46aefaf
("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…
Reference in New Issue
Block a user