Re: xprtrdma: Prevent inline overflow

2020-07-15 Thread Colin Ian King
e net/sunrpc/xprtrdma/rpc_rdma.c in >> functions rpcrdma_max_call_header_size and rpcrdma_max_reply_header_size. >> >> The commit in question is relatively old: >> >> commit 302d3deb20682a076e1ab551821cacfdc81c5e4f >> Author: Chuck Lever >> Date: Mon May 2 14:41:05 2016 -0400 &

Re: xprtrdma: Prevent inline overflow

2020-07-15 Thread Chuck Lever
header_size. > > The commit in question is relatively old: > > commit 302d3deb20682a076e1ab551821cacfdc81c5e4f > Author: Chuck Lever > Date: Mon May 2 14:41:05 2016 -0400 > >xprtrdma: Prevent inline overflow > > The two issues are as follows: > > Issue #1:

re: xprtrdma: Prevent inline overflow

2020-07-15 Thread Colin Ian King
302d3deb20682a076e1ab551821cacfdc81c5e4f Author: Chuck Lever Date: Mon May 2 14:41:05 2016 -0400 xprtrdma: Prevent inline overflow The two issues are as follows: Issue #1: 66 static unsigned int rpcrdma_max_call_header_size(unsigned int maxsegs) 67 { 68unsigned int size; 69 70/* Fixed header fields