forked from luck/tmp_suning_uos_patched
[NET]: Fix netx-eth.c compilation.
This was missed when commite2ac455a18
fixed the compile errors in drivers/net/netx-eth.c caused by commit09f75cd7bf
. Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
92ffb85dd3
commit
9a262d5c24
@ -169,8 +169,8 @@ static void netx_eth_receive(struct net_device *ndev)
|
||||
ndev->last_rx = jiffies;
|
||||
skb->protocol = eth_type_trans(skb, ndev);
|
||||
netif_rx(skb);
|
||||
dev->stats.rx_packets++;
|
||||
dev->stats.rx_bytes += len;
|
||||
ndev->stats.rx_packets++;
|
||||
ndev->stats.rx_bytes += len;
|
||||
}
|
||||
|
||||
static irqreturn_t
|
||||
|
Loading…
Reference in New Issue
Block a user