summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-06-23 17:18:00 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-06-28 14:21:44 -0400
commitca5c76aba7502d52a6019358ec04bd4d734037d7 (patch)
tree657fe7bdd07b1dcf53352f59133c19106c46d3d8 /net/sunrpc/svc_xprt.c
parent3c22f326074d2306041b0c5c9df516464349564d (diff)
downloadop-kernel-dev-ca5c76aba7502d52a6019358ec04bd4d734037d7.zip
op-kernel-dev-ca5c76aba7502d52a6019358ec04bd4d734037d7.tar.gz
svcrdma: Improve Reply chunk sanity checking
Identify malformed transport headers and unsupported chunk combinations as early as possible. - Ensure that segment lengths are not crazy. - Ensure that the Reply chunk's segment count is not crazy. With a 1KB inline threshold, the largest number of Write segments that can be conveyed is about 60 (for a RDMA_NOMSG Reply message). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud