commit | f8d291f00bb33c97b8c9dd643277d6300d05559d | [log] [tgz] |
---|---|---|
author | Peng Li <lipeng321@huawei.com> | Sat Mar 10 11:29:26 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 11 22:53:31 2018 -0400 |
tree | 846bdfaf8f397f1011275071de154ccb27dfa338 | |
parent | e98d7183f609ba48cfe5c5132b99f4c6ccab31c6 [diff] |
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: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>