OpenCloudOS-Kernel/net/sunrpc/xprtrdma
Chuck Lever 03ac1a76ce xprtrdma: Fix buffer leak after transport set up failure
This leak has been around forever, and is exceptionally rare.

EINVAL causes mount to fail with "an incorrect mount option was
specified" although it's not likely that one of the mount
options is incorrect. Instead, return ENODEV in this case, as this
appears to be an issue with system or device configuration rather
than a specific mount option.

Some obsolete comments are also removed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-01-16 11:19:41 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
backchannel.c NFS client updates for Linux 4.15 2017-11-17 14:18:00 -08:00
fmr_ops.c NFS client updates for Linux 4.15 2017-11-17 14:18:00 -08:00
frwr_ops.c NFS client updates for Linux 4.15 2017-11-17 14:18:00 -08:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
rpc_rdma.c xprtrdma: Spread reply processing over more CPUs 2017-12-15 14:31:50 -05:00
svc_rdma.c svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt 2017-04-25 17:25:55 -04:00
svc_rdma_backchannel.c Lots of good bugfixes, including: 2017-11-18 11:22:04 -08:00
svc_rdma_recvfrom.c svcrdma: Properly compute .len and .buflen for received RPC Calls 2017-07-12 15:54:57 -04:00
svc_rdma_rw.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
svc_rdma_sendto.c svcrdma: fix an incorrect check on -E2BIG and -EINVAL 2017-07-13 14:18:47 -04:00
svc_rdma_transport.c svcrdma: Enqueue after setting XPT_CLOSE in completion handlers 2017-11-07 16:44:02 -05:00
transport.c xprtrdma: Fix buffer leak after transport set up failure 2018-01-16 11:19:41 -05:00
verbs.c xprtrdma: Spread reply processing over more CPUs 2017-12-15 14:31:50 -05:00
xprt_rdma.h xprtrdma: Spread reply processing over more CPUs 2017-12-15 14:31:50 -05:00