summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorGerd Rausch <gerd.rausch@oracle.com>2019-07-17 00:29:23 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-17 21:06:52 +0200
commitaa4948937b7d5b4a8e6553f4938f8431b2fd783a (patch)
tree85016616e0fba6735a8d6ca56656482d2879c7cb /init
parentnet/rds: Keep track of and wait for FRWR segments in use upon shutdown (diff)
downloadlinux-aa4948937b7d5b4a8e6553f4938f8431b2fd783a.tar.xz
linux-aa4948937b7d5b4a8e6553f4938f8431b2fd783a.zip
net/rds: Initialize ic->i_fastreg_wrs upon allocation
Otherwise, if an IB connection is torn down before "rds_ib_setup_qp" is called, the value of "ic->i_fastreg_wrs" is still at zero (as it wasn't initialized by "rds_ib_setup_qp"). Consequently "rds_ib_conn_path_shutdown" will spin forever, waiting for it to go back to "RDS_IB_DEFAULT_FR_WR", which of course will never happen as there are no outstanding work requests. Signed-off-by: Gerd Rausch <gerd.rausch@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions