提交 3cb7a798 编写于 作者: F françois romieu 提交者: David S. Miller

via-velocity : update receive packets statistics.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=14076.
Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
Tested-by: NJon Nelson <jnelson@jamponi.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f3f70bf6
......@@ -2092,6 +2092,7 @@ static int velocity_receive_frame(struct velocity_info *vptr, int idx)
netif_rx(skb);
stats->rx_bytes += pkt_len;
stats->rx_packets++;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册