]> git.baikalelectronics.ru Git - kernel.git/commit
[VLAN]: Make sure bonding packet drop checks get done in hwaccel RX path.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 15 Aug 2006 00:08:36 +0000 (17:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 17 Aug 2006 23:29:46 +0000 (16:29 -0700)
commit0f1f0b2f1f64b2454d122242a29d8e49a87131f0
tree09cf48c5f48bdee89b7a2579ba4c7b072ca842e9
parent07c4dc45173cc4fd11fbe38b7d9bed345dc5f0ea
[VLAN]: Make sure bonding packet drop checks get done in hwaccel RX path.

Since __vlan_hwaccel_rx() is essentially bypassing the
netif_receive_skb() call that would have occurred if we did the VLAN
decapsulation in software, we are missing the skb_bond() call and the
assosciated checks it does.

Export those checks via an inline function, skb_bond_should_drop(),
and use this in __vlan_hwaccel_rx().

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
include/linux/netdevice.h
net/core/dev.c