diff options
Diffstat (limited to 'arch/xtensa/platform-iss')
-rw-r--r-- | arch/xtensa/platform-iss/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/platform-iss/network.c b/arch/xtensa/platform-iss/network.c index b61fb36674e7..f21b9b0899a8 100644 --- a/arch/xtensa/platform-iss/network.c +++ b/arch/xtensa/platform-iss/network.c | |||
@@ -393,11 +393,11 @@ static int iss_net_rx(struct net_device *dev) | |||
393 | if (pkt_len > 0) { | 393 | if (pkt_len > 0) { |
394 | skb_trim(skb, pkt_len); | 394 | skb_trim(skb, pkt_len); |
395 | skb->protocol = lp->tp.protocol(skb); | 395 | skb->protocol = lp->tp.protocol(skb); |
396 | // netif_rx(skb); | ||
397 | netif_rx_ni(skb); | ||
398 | 396 | ||
399 | lp->stats.rx_bytes += skb->len; | 397 | lp->stats.rx_bytes += skb->len; |
400 | lp->stats.rx_packets++; | 398 | lp->stats.rx_packets++; |
399 | // netif_rx(skb); | ||
400 | netif_rx_ni(skb); | ||
401 | return pkt_len; | 401 | return pkt_len; |
402 | } | 402 | } |
403 | kfree_skb(skb); | 403 | kfree_skb(skb); |