]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xprtrdma: xprt_rdma_free() must not release backchannel reqs
authorChuck Lever <chuck.lever@oracle.com>
Fri, 8 Jan 2016 21:11:31 +0000 (14:11 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 29 Jan 2016 15:31:29 +0000 (07:31 -0800)
commit38f83768501dfe2300ab4ef9010d52ab0bad8bae
treede43ba2562146f3711dbb6108a7d596c2e3b3372
parent28b516f4cd1b9cf9a848b85ee3734e8bdd1e4599
xprtrdma: xprt_rdma_free() must not release backchannel reqs

Orabug: 22365704

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.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-by: John Sobecki <john.sobecki@oracle.com>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
net/sunrpc/xprtrdma/transport.c