Searched hist:e604aad2 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/sunrpc/ |
H A D | rpc_rdma.h | e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers
The logic that checks incoming network headers has to be scrupulous.
De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done.
One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers The logic that checks incoming network headers has to be scrupulous. De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done. One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|
H A D | svc_rdma.h | e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers
The logic that checks incoming network headers has to be scrupulous.
De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done.
One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers The logic that checks incoming network headers has to be scrupulous. De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done. One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|
/openbmc/linux/include/trace/events/ |
H A D | rpcrdma.h | e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers
The logic that checks incoming network headers has to be scrupulous.
De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done.
One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers The logic that checks incoming network headers has to be scrupulous. De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done. One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_recvfrom.c | e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers
The logic that checks incoming network headers has to be scrupulous.
De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done.
One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com> e604aad2 Mon Mar 02 14:01:08 CST 2020 Chuck Lever <chuck.lever@oracle.com> svcrdma: Use struct xdr_stream to decode ingress transport headers The logic that checks incoming network headers has to be scrupulous. De-duplicate: replace open-coded buffer overflow checks with the use of xdr_stream helpers that are used most everywhere else XDR decoding is done. One minor change to the sanity checks: instead of checking the length of individual segments, cap the length of the whole chunk to be sure it can fit in the set of pages available in rq_pages. This should be a better test of whether the server can handle the chunks in each request. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
|