Skip to content
Commit 7ea49ed7 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 774bd861
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment