android_kernel_xiaomi_sm8350/net/8021q
Eric Dumazet 173e79fb70 vlan: dont drop packets from unknown vlans in promiscuous mode
Roger Luethi noticed packets for unknown VLANs getting silently dropped
even in promiscuous mode.

Check for promiscuous mode in __vlan_hwaccel_rx() and vlan_gro_common()
before drops.

As suggested by Patrick, mark such packets to have skb->pkt_type set to
PACKET_OTHERHOST to make sure they are dropped by IP stack.

Reported-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-30 18:04:21 -07:00
..
Kconfig
Makefile
vlan_core.c vlan: dont drop packets from unknown vlans in promiscuous mode 2010-09-30 18:04:21 -07:00
vlan_dev.c vlan: Match underlying dev carrier on vlan add 2010-08-19 00:26:46 -07:00
vlan_gvrp.c
vlan_netlink.c
vlan.c vlan_dev: VLAN 0 should be treated as "no vlan tag" (802.1p packet) 2010-07-18 15:38:44 -07:00
vlan.h vlan: 64 bit rx counters 2010-06-28 23:24:31 -07:00
vlanproc.c net: fix 64 bit counters on 32 bit arches 2010-07-07 14:58:56 -07:00
vlanproc.h