diff options
author | Håkon Bugge | 2017-10-24 16:16:28 +0200 |
---|---|---|
committer | David S. Miller | 2017-10-26 10:35:57 +0200 |
commit | a0c0865fa0abcbc142c11fabec3a2bffc1a4229d (patch) | |
tree | c48c024b1e3e49dfc0866a1299e73d2bb5ab8327 /net/unix | |
parent | rds: ib: Fix uninitialized variable (diff) | |
download | kernel-qcow2-linux-a0c0865fa0abcbc142c11fabec3a2bffc1a4229d.tar.gz kernel-qcow2-linux-a0c0865fa0abcbc142c11fabec3a2bffc1a4229d.tar.xz kernel-qcow2-linux-a0c0865fa0abcbc142c11fabec3a2bffc1a4229d.zip |
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/unix')
0 files changed, 0 insertions, 0 deletions