]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/hyperv: rx_bytes should account the ether header size
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 29 Jan 2012 22:14:02 +0000 (22:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Feb 2012 19:29:59 +0000 (14:29 -0500)
commit48c3883999cb06246911e29356d194f96f1c75ef
tree90a61ee0fe20e1c9c71c26b6c92485e7681199cf
parenta7ed07d51c8abdb407be454c6cb6cfad613759d9
net/hyperv: rx_bytes should account the ether header size

skb->len after call eth_type_trans() does not include the ether
header size, but rx_bytes should account it.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c