diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2025-04-27 12:39:59 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-05-11 19:48:28 -0400 |
commit | 8ac6fcae5dc0e801f1c82a83f5ae2c0a4db19932 (patch) | |
tree | 8553702be0cc788ebf39a908833f66cea75b9e8a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | de08ffb79c8f404adc611ddb580bc74133b2c986 (diff) |
svcrdma: Unregister the device if svc_rdma_accept() fails
To handle device removal, svc_rdma_accept() requests removal
notification for the underlying device when accepting a connection.
However svc_rdma_free() is not invoked if svc_rdma_accept() fails.
There needs to be a matching "unregister" in that case; otherwise
the device cannot be removed.
Fixes: c4de97f7c454 ("svcrdma: Handle device removal outside of the CM event handler")
Cc: stable@vger.kernel.org
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions