[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1606763244-28111-1-git-send-email-tlfalcon@linux.ibm.com>
Date: Mon, 30 Nov 2020 13:07:22 -0600
From: Thomas Falcon <tlfalcon@...ux.ibm.com>
To: mpe@...erman.id.au
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
cforno12@...ux.ibm.com, ljp@...ux.vnet.ibm.com,
ricklind@...ux.ibm.com, dnbanerg@...ibm.com,
drt@...ux.vnet.ibm.com, brking@...ux.vnet.ibm.com,
sukadev@...ux.vnet.ibm.com, tlfalcon@...ux.ibm.com
Subject: [PATCH net v2 0/2] ibmvnic: Bug fixes for queue descriptor processing
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.
v2: Provide more detailed comments explaining specifically what
reads are being ordered, suggested by Michael Ellerman
Thomas Falcon (2):
ibmvnic: Ensure that SCRQ entry reads are correctly ordered
ibmvnic: Fix TX completion error handling
drivers/net/ethernet/ibm/ibmvnic.c | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
--
1.8.3.1
Powered by blists - more mailing lists