Whamcloud - gitweb
LU-12264 lnet: Protect lp_dc_pendq manipulation with lp_lock 98/34798/9
authorChris Horn <hornc@cray.com>
Thu, 2 May 2019 22:24:32 +0000 (17:24 -0500)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:09:02 +0000 (18:09 +0000)
commitdd16a31bf4ae874a69cc7dc5fe1f3197993630ae
tree612aa165e226b071be16013328158ee14b235801
parenta0879b5985b41f92dede96e7f27623eb72102b15
LU-12264 lnet: Protect lp_dc_pendq manipulation with lp_lock

Protect the peer discovery queue from concurrent manipulation by
acquiring the lp_lock.

Test-Parameters: forbuildonly
Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: If43b877c1c7ea203f346a3d6ea846f00b8f9661f
Reviewed-on: https://review.whamcloud.com/34798
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
lnet/lnet/lib-move.c
lnet/lnet/peer.c