aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2025-05-06 16:00:05 +0000
committerPaolo Abeni <[email protected]>2025-05-08 09:33:30 +0000
commitcdbb2dc3996a60ed3d7431c1239a8ca98c778e04 (patch)
treec9605aaf761605c950240dd143aff36d2df8ba12 /net/unix/af_unix.c
parentfbnic: Actually flush_tx instead of stalling out (diff)
downloadkernel-cdbb2dc3996a60ed3d7431c1239a8ca98c778e04.tar.gz
kernel-cdbb2dc3996a60ed3d7431c1239a8ca98c778e04.zip
fbnic: Cleanup handling of completions
There was an issue in that if we were to shutdown we could be left with a completion in flight as the mailbox went away. To address that I have added an fbnic_mbx_evict_all_cmpl function that is meant to essentially create a "broken pipe" type response so that all callers will receive an error indicating that the connection has been broken as a result of us shutting down the mailbox. Fixes: 378e5cc1c6c6 ("eth: fbnic: hwmon: Add completion infrastructure for firmware requests") Signed-off-by: Alexander Duyck <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/174654720578.499179.380252598204530873.stgit@ahduyck-xeon-server.home.arpa Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions