mbox series

[net,0/2] ibmvnic: Bug fixes for queue descriptor processing

Message ID 1606238776-30259-1-git-send-email-tlfalcon@linux.ibm.com
Headers show
Series ibmvnic: Bug fixes for queue descriptor processing | expand

Message

Thomas Falcon Nov. 24, 2020, 5:26 p.m. UTC
This series resolves a few issues in the ibmvnic driver's
RX buffer and TX completion processing. The first patch
includes memory barriers to synchronize queue descriptor
reads. The second patch fixes a memory leak that could
occur if the device returns a TX completion with an error
code in the descriptor, in which case the respective socket
buffer and other relevant data structures may not be freed
or updated properly.

Thomas Falcon (2):
  ibmvnic: Ensure that SCRQ entry reads are correctly ordered
  ibmvnic: Fix TX completion error handling

 drivers/net/ethernet/ibm/ibmvnic.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)