From: Eric Dumazet Date: Thu, 30 Sep 2010 02:16:44 +0000 (+0000) Subject: vlan: dont drop packets from unknown vlans in promiscuous mode X-Git-Tag: v2.6.36-rc7~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=173e79fb70a98b5b223f8dc09c22990d777bdd78;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet CC: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed