diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2018-12-19 11:00:48 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2019-01-02 12:05:18 -0500 |
commit | f85adb1bf59557909f86f71cf4b1e5a906bdb465 (patch) | |
tree | e7b5015f71dda5280e7e9637056015052e34f02e /net/sunrpc/xdr.c | |
parent | af65ed404c437684c9f58d0c37495abedcdfa3fc (diff) | |
download | linux-f85adb1bf59557909f86f71cf4b1e5a906bdb465.tar.bz2 |
xprtrdma: Don't leak freed MRs
Defensive clean up. Don't set frwr->fr_mr until we know that the
scatterlist allocation has succeeded.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xdr.c')
0 files changed, 0 insertions, 0 deletions