summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorHåkon Bugge <Haakon.Bugge@oracle.com>2017-10-24 17:16:28 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-26 11:35:57 +0300
commita0c0865fa0abcbc142c11fabec3a2bffc1a4229d (patch)
treec48c024b1e3e49dfc0866a1299e73d2bb5ab8327 /net/dccp
parente9a0b99804ff662d02b78a556a84e22308066fe1 (diff)
downloadlinux-a0c0865fa0abcbc142c11fabec3a2bffc1a4229d.tar.xz
rds: Fix inaccurate accounting of unsignaled wrs
The number of unsignaled work-requests posted to the IB send queue is tracked by a counter in the rds_ib_connection struct. When it reaches zero, or the caller explicitly asks for it, the send-signaled bit is set in send_flags and the counter is reset. This is performed by the rds_ib_set_wr_signal_state() function. However, this function is not always used which yields inaccurate accounting. This commit fixes this, re-factors a code bloat related to the matter, and makes the actual parameter type to the function consistent. Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions