Skip to content

Commit

Permalink
staging: et131x: use netif_rx_ni() for packet receive
Browse files Browse the repository at this point in the history
netif_rx is meant to be called from interrupts because it doesn't wake
up ksoftirqd.  For calling from outside interrupts, netif_rx_ni exists.

This stops the error "NOHZ: local_softirq_panding 08" that happens on
some machines with NOHZ and plip --- it is caused by the fact that
softirq is pending and ksoftirqd is sleeping.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Feb 24, 2012
1 parent 8062a62 commit fc7e2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/et131x/et131x.c
Original file line number Diff line number Diff line change
Expand Up @@ -3109,7 +3109,7 @@ static struct rfd *nic_rx_pkts(struct et131x_adapter *adapter)
skb->protocol = eth_type_trans(skb, adapter->netdev);
skb->ip_summed = CHECKSUM_NONE;

netif_rx(skb);
netif_rx_ni(skb);
} else {
rfd->len = 0;
}
Expand Down

0 comments on commit fc7e2a5

Please sign in to comment.