diff options
| author | Zhao Chen <[email protected]> | 2018-07-18 04:33:18 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-20 06:27:32 +0000 |
| commit | f7482683f1f4925c60941dbbd0813ceaa069d106 (patch) | |
| tree | 20d03fb6bf300745027e59ca767b57f26a7c37e5 /net/ipv4/tcp_output.c | |
| parent | net/page_pool: Fix inconsistent lock state warning (diff) | |
| download | kernel-f7482683f1f4925c60941dbbd0813ceaa069d106.tar.gz kernel-f7482683f1f4925c60941dbbd0813ceaa069d106.zip | |
net-next/hinic: fix a problem in hinic_xmit_frame()
The calculation of "wqe_size" is not correct when the tx queue is busy in
hinic_xmit_frame().
When there are no free WQEs, the tx flow will unmap the skb buffer, then
ring the doobell for the pending packets. But the "wqe_size" which used
to calculate the doorbell address is not correct. The wqe size should be
cleared to 0, otherwise, it will cause a doorbell error.
This patch fixes the problem.
Reported-by: Zhou Wang <[email protected]>
Signed-off-by: Zhao Chen <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
