diff options
author | Dan Aloni <[email protected]> | 2022-01-25 22:06:46 +0200 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2022-02-08 09:14:26 -0500 |
commit | a9c10b5b3b67b3750a10c8b089b2e05f5e176e33 (patch) | |
tree | 285e1b000cd75007aaa956d183dfc896735155aa /lib/test_overflow.c | |
parent | 468d126dab45718feeb728319be20bd869a5eaa7 (diff) |
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 <[email protected]>
Acked-by: Chuck Lever <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions