diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-09-30 02:16:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-30 18:04:21 -0700 |
commit | 173e79fb70a98b5b223f8dc09c22990d777bdd78 (patch) | |
tree | 0812b62ac5ae74b605109372437aaaacb6495234 /net/ipv6/route.c | |
parent | 92629195314d8adefabeb78b13d681ad1c01e778 (diff) | |
download | linux-3.10-173e79fb70a98b5b223f8dc09c22990d777bdd78.tar.gz linux-3.10-173e79fb70a98b5b223f8dc09c22990d777bdd78.tar.bz2 linux-3.10-173e79fb70a98b5b223f8dc09c22990d777bdd78.zip |
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>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions