nfc: fix leaks and races surfaced by NIPA
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | nfc: nci: free skb on nci_transceive early error pathsnet/ | +7 | 1 reply | Applied |
| 2/5 | nfc: digital: free skb on digital_in_send error pathsnet/ | +6 | 1 reply | Applied |
| 3/5 | nfc: nci: complete pending data exchange on device closenet/ | +9 | 1 reply | Applied |
| 4/5 | nfc: nci: clear NCI_DATA_EXCHANGE before calling completion callbacknet/ | +8 | 1 reply | Applied |
| 5/5 | nfc: rawsock: cancel tx_work before socket teardownnet/ | +11 | 2 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Joe Damato |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/5] nfc: fix leaks and races surfaced by NIPA
I recently added the nci test to NIPA. Somewhat surprisingly it runs without much settup but hits kmemleaks fairly often. Fix a handful of issues to make the test pass in a stable way.
Jakub Kicinski (5):
nfc: nci: free skb on nci_transceive early error paths
nfc: digital: free skb on digital_in_send error paths
nfc: nci: complete pending data exchange on device close
nfc: nci: clear NCI_DATA_EXCHANGE before calling completion callback
nfc: rawsock: cancel tx_work before socket teardown
net/nfc/digital_core.c | 8 ++++++-- net/nfc/nci/core.c | 18 ++++++++++++++++-- net/nfc/nci/data.c | 12 ++++++++---- net/nfc/rawsock.c | 11 +++++++++++ 4 files changed, 41 insertions(+), 8 deletions(-)
Signature · 1 line
2.53.0