[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090227.000350.107894710.davem@davemloft.net>
Date: Fri, 27 Feb 2009 00:03:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: jarkao2@...il.com, ash@...sky.net, netdev@...r.kernel.org
Subject: Re: Kernel problem
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Fri, 27 Feb 2009 12:11:36 +0800
> /* 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_receive_skb(skb))
> + return NET_RX_DROP;
> +
> if (skb_bond_should_drop(skb))
> goto drop;
>
This case should use netpoll_rx().
netif_rx_skb() --> netpoll_rx()
netif_receive_skb() --> netpoll_receive_skb()
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists