summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platform-iss/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/platform-iss/network.c')
-rw-r--r--arch/xtensa/platform-iss/network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/platform-iss/network.c b/arch/xtensa/platform-iss/network.c
index b61fb36674e..f21b9b0899a 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)
if (pkt_len > 0) {
skb_trim(skb, pkt_len);
skb->protocol = lp->tp.protocol(skb);
- // netif_rx(skb);
- netif_rx_ni(skb);
lp->stats.rx_bytes += skb->len;
lp->stats.rx_packets++;
+ // netif_rx(skb);
+ netif_rx_ni(skb);
return pkt_len;
}
kfree_skb(skb);