projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
061ba04
)
sh_eth: NAPI requires netif_receive_skb()
author
Sergei Shtylyov
<
[email protected]
>
Mon, 2 Sep 2013 23:03:10 +0000
(
03:03
+0400)
committer
David S. Miller
<
[email protected]
>
Wed, 4 Sep 2013 18:14:53 +0000
(14:14 -0400)
Driver supporting NAPI should use NAPI-specific function for receiving packets,
so netif_rx() should be changed to netif_receive_skb().
Signed-off-by: Sergei Shtylyov <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/renesas/sh_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/renesas/sh_eth.c
b/drivers/net/ethernet/renesas/sh_eth.c
index a753928bab9c683d54036f92350e6db466eaa7b9..1ccd5959c0bf349f90122e5326ee90bf19ca420b 100644
(file)
--- a/
drivers/net/ethernet/renesas/sh_eth.c
+++ b/
drivers/net/ethernet/renesas/sh_eth.c
@@
-1299,7
+1299,7
@@
static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota)
skb_reserve(skb, NET_IP_ALIGN);
skb_put(skb, pkt_len);
skb->protocol = eth_type_trans(skb, ndev);
- netif_r
x
(skb);
+ netif_r
eceive_skb
(skb);
ndev->stats.rx_packets++;
ndev->stats.rx_bytes += pkt_len;
}