ibmvnic: Fix TX completion error handling
authorThomas Falcon <tlfalcon@linux.ibm.com>
Tue, 1 Dec 2020 15:52:11 +0000 (09:52 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Dec 2020 18:09:04 +0000 (10:09 -0800)
commitba246c175116e2e8fa4fdfa5f8e958e086a9a818
tree1a48c879de813308d0a1ce6f566f86b2ebfa28dc
parentb71ec952234610b4f90ef17a2fdcb124d5320070
ibmvnic: Fix TX completion error handling

TX completions received with an error return code are not
being processed properly. When an error code is seen, do not
proceed to the next completion before cleaning up the existing
entry's data structures.

Fixes: 032c5e82847a ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c