diff options
author | Dan Aloni <dan.aloni@vastdata.com> | 2022-01-25 22:06:46 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-02-08 09:14:26 -0500 |
commit | a9c10b5b3b67b3750a10c8b089b2e05f5e176e33 (patch) | |
tree | 285e1b000cd75007aaa956d183dfc896735155aa /fs | |
parent | 468d126dab45718feeb728319be20bd869a5eaa7 (diff) | |
download | linux-a9c10b5b3b67b3750a10c8b089b2e05f5e176e33.tar.gz |
xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create
If there are failures then we must not leave the non-NULL pointers with
the error value, otherwise `rpcrdma_ep_destroy` gets confused and tries
free them, resulting in an Oops.
Signed-off-by: Dan Aloni <dan.aloni@vastdata.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions