Re: [PATCH net v2] net: handle 802.1P vlan 0 packets properly

2019-06-16 Thread David Miller
From: Govindarajulu Varadarajan Date: Fri, 14 Jun 2019 06:13:54 -0700 > When stack receives pkt: [802.1P vlan 0][802.1AD vlan 100][IPv4], > vlan_do_receive() returns false if it does not find vlan_dev. Later > __netif_receive_skb_core() fails to find packet type handler for > skb->protocol 801.1A

[PATCH net v2] net: handle 802.1P vlan 0 packets properly

2019-06-14 Thread Govindarajulu Varadarajan
When stack receives pkt: [802.1P vlan 0][802.1AD vlan 100][IPv4], vlan_do_receive() returns false if it does not find vlan_dev. Later __netif_receive_skb_core() fails to find packet type handler for skb->protocol 801.1AD and drops the packet. 801.1P header with vlan id 0 should be handled as untag