Skip to content

Commit 6083e28

Browse files
osctobedavem330
authored andcommitted
OVS: remove VLAN_TAG_PRESENT - fixup
It turns out I missed one VLAN_TAG_PRESENT in OVS code while rebasing. This fixes it. Fixes: 9df46ae ("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>
1 parent 12ceaf8 commit 6083e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/openvswitch/flow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ static int key_extract(struct sk_buff *skb, struct sw_flow_key *key)
597597
* skb_vlan_pop(), which will later shift the ethertype into
598598
* skb->protocol.
599599
*/
600-
if (key->eth.cvlan.tci & htons(VLAN_TAG_PRESENT))
600+
if (key->eth.cvlan.tci & htons(VLAN_CFI_MASK))
601601
skb->protocol = key->eth.cvlan.tpid;
602602
else
603603
skb->protocol = key->eth.type;

0 commit comments

Comments
 (0)