Skip to content
Commit 63a81588 authored by Chuck Lever's avatar Chuck Lever
Browse files

rpcrdma: Always release the rpcrdma_device's xa_array



Dai pointed out that the xa_init_flags() in rpcrdma_add_one() needs
to have a matching xa_destroy() in rpcrdma_remove_one() to release
underlying memory that the xarray might have accrued during
operation.

Reported-by: default avatarDai Ngo <dai.ngo@oracle.com>
Fixes: 7e86845a ("rpcrdma: Implement generic device removal")
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent 8286f8b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment