Whamcloud - gitweb
LU-15076 socklnd: lock ksnc_tx_queue list processing 79/45179/2
authorArtem Blagodarenko <artem.blagodarenko@gmail.com>
Sat, 9 Oct 2021 04:35:19 +0000 (00:35 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:35:10 +0000 (00:35 +0000)
commit13c7c2e3c248c8cdba4853852bfaecceb7a75afe
tree6c8dfdde08e7bb295f9e5a1875e1ef22808a90ba
parentc0596c4d8af3bce6565c0e16a1469fcc65191404
LU-15076 socklnd: lock ksnc_tx_queue list processing

A GFP occurred in the ksocknal_find_timed_out_conn() while processing
ksnc_tx_queue list.

Add locking to this list.

Change-Id: I1f76683e5798c5015f11e3fa285db9613b1af906
Signed-off-by: Artem Blagodarenko <artem.blagodarenko@hpe.com>
HPE-bug-id: LUS-10248
Fixes: 25c1cb2c4d ("LU-9120 lnet: handle socklnd tx failure")
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-on: https://review.whamcloud.com/45179
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd_cb.c