From: Sergei Shtylyov Date: Mon, 2 Sep 2013 23:03:10 +0000 (+0400) Subject: sh_eth: NAPI requires netif_receive_skb() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8e9fd0f7462f5cada5189513d12fe6c9cce2105;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git sh_eth: NAPI requires netif_receive_skb() 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index a753928bab9c..1ccd5959c0bf 100644 --- 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_rx(skb); + netif_receive_skb(skb); ndev->stats.rx_packets++; ndev->stats.rx_bytes += pkt_len; }