libertas cs/sdio: fix 'NOHZ: local_softirq_pending 08' message
Holger Schurig
Acked-byAcked-by Holger Schurig <[email protected]>
Quoted 2 lines
This patch is against 2.6.24-rc8 and has only been tested with the sdio interface, please test it with usb.
The patch should be against wireless-2.6, branch everything. I'm adding a revised version:
----
netif_rx should be called only from interrupt context. if_cs and if_sdio receive packets from other contexts, and thus should call netif_rx_ni.
Signed-off-by Marc Pignat <[email protected]>
drivers/net/wireless/libertas/rx.c +4 -1
@@ -247,7 +247,10 @@ int lbs_process_rxed_packet(struct lbs_p priv->stats.rx_packets++; skb->protocol =eth_type_trans (skb, dev); -netif_rx (skb); +if (in_interrupt ()) +netif_rx (skb); +else +netif_rx_ni (skb); ret =0 ; done: