Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/iwlwifi/iwl-tx.c net/8021q/vlan_core.c net/core/dev.c
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
#include <linux/skbuff.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/if_vlan.h>
|
||||
#include <linux/netpoll.h>
|
||||
#include "vlan.h"
|
||||
|
||||
/* VLAN rx hw acceleration helper. This acts like netif_{rx,receive_skb}(). */
|
||||
int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp,
|
||||
u16 vlan_tci, int polling)
|
||||
{
|
||||
if (netpoll_rx(skb))
|
||||
return NET_RX_DROP;
|
||||
|
||||
if (skb_bond_should_drop(skb))
|
||||
goto drop;
|
||||
|
||||
@@ -102,6 +106,9 @@ int vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp,
|
||||
{
|
||||
skb_gro_reset_offset(skb);
|
||||
|
||||
if (netpoll_receive_skb(skb))
|
||||
return NET_RX_DROP;
|
||||
|
||||
return napi_skb_finish(vlan_gro_common(napi, grp, vlan_tci, skb), skb);
|
||||
}
|
||||
EXPORT_SYMBOL(vlan_gro_receive);
|
||||
@@ -114,6 +121,9 @@ int vlan_gro_frags(struct napi_struct *napi, struct vlan_group *grp,
|
||||
if (!skb)
|
||||
return NET_RX_DROP;
|
||||
|
||||
if (netpoll_receive_skb(skb))
|
||||
return NET_RX_DROP;
|
||||
|
||||
return napi_frags_finish(napi, skb,
|
||||
vlan_gro_common(napi, grp, vlan_tci, skb));
|
||||
}
|
||||
|
Reference in New Issue
Block a user