diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-07-15 17:26:04 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-07-15 13:01:01 -0400 |
commit | 912288442cb2f431bf3c8cb097a5de83bc6dbac1 (patch) | |
tree | 0d84135db64ddeb2a85073c727fd95b7f33f853f /net/sunrpc/rpcb_clnt.c | |
parent | 913fadc5b105c3619d9e8d0fe8899ff1593cc737 (diff) | |
download | linux-912288442cb2f431bf3c8cb097a5de83bc6dbac1.tar.bz2 |
xprtrdma: fix incorrect header size calculations
Currently the header size calculations are using an assignment
operator instead of a += operator when accumulating the header
size leading to incorrect sizes. Fix this by using the correct
operator.
Addresses-Coverity: ("Unused value")
Fixes: 302d3deb2068 ("xprtrdma: Prevent inline overflow")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions