diff options
author | Peng Li <lipeng321@huawei.com> | 2018-03-10 11:29:26 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-11 22:53:31 -0400 |
commit | f8d291f00bb33c97b8c9dd643277d6300d05559d (patch) | |
tree | 846bdfaf8f397f1011275071de154ccb27dfa338 /crypto/ecc.c | |
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>
Diffstat (limited to 'crypto/ecc.c')
0 files changed, 0 insertions, 0 deletions