diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-12-16 17:22:14 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-12-18 15:34:33 -0500 |
commit | ffc4d9b1596c34caa98962722e930e97912c8a9f (patch) | |
tree | d10df0074087ca02a690b263f7c0d3e25b536918 /kernel | |
parent | 9b06688bc3b9f13f8de90f832c455fddec3d4e8a (diff) | |
download | linux-stable-ffc4d9b1596c34caa98962722e930e97912c8a9f.tar.gz linux-stable-ffc4d9b1596c34caa98962722e930e97912c8a9f.tar.bz2 linux-stable-ffc4d9b1596c34caa98962722e930e97912c8a9f.zip |
xprtrdma: xprt_rdma_free() must not release backchannel reqs
Preserve any rpcrdma_req that is attached to rpc_rqst's allocated
for the backchannel. Otherwise, after all the pre-allocated
backchannel req's are consumed, incoming backward calls start
writing on freed memory.
Somehow this hunk got lost.
Fixes: f531a5dbc451 ('xprtrdma: Pre-allocate backward rpc_rqst')
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions