summaryrefslogtreecommitdiffstats
path: root/net/kcm
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan2019-06-14 15:13:54 +0200
committerDavid S. Miller2019-06-16 22:45:14 +0200
commit36b2f61a42c29add695f3bd192ce44d5c113c1eb (patch)
tree55ed039374e1a7d90cb0a509bb091638ad3b4975 /net/kcm
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
downloadkernel-qcow2-linux-36b2f61a42c29add695f3bd192ce44d5c113c1eb.tar.gz
kernel-qcow2-linux-36b2f61a42c29add695f3bd192ce44d5c113c1eb.tar.xz
kernel-qcow2-linux-36b2f61a42c29add695f3bd192ce44d5c113c1eb.zip
net: handle 802.1P vlan 0 packets properly
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 untagged packets. This patch fixes it by checking if vlan_id is 0 and processes next vlan header. Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions