Skip to content
Commit f8d291f0 authored by Peng Li's avatar Peng Li Committed by David S. Miller
Browse files

net: hns3: fix rx path skb->truesize reporting bug



Original skb->truesize reports the received packet size,
not the actual buffer size NIC driver allocated(1 Page).
The linux net protocol will misjudge the true size of rx queue.

Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e98d7183
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment