mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04: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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
12ceaf8864
commit
6083e28aa0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue