Whamcloud - gitweb
LU-6476 lnet: avoid race during acceptor thread termination 03/14503/5
authorBruno Faccini <bruno.faccini@intel.com>
Mon, 20 Apr 2015 14:25:30 +0000 (16:25 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 8 May 2015 15:04:30 +0000 (15:04 +0000)
commit7574e32e64b77851163d0a8d3141b406d03621be
treef7e135d7d0e1e95fa4f975a7303b0726145c1dbd
parent9eda825b1b449baaf2676cc80ccae79d4297cf2d
LU-6476 lnet: avoid race during acceptor thread termination

This patch will avoid potential race, around socket sleepers
wait list, during acceptor thread termination and using
sk_callback_lock RW-Lock protection.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: Ib0a06bd8b3947648cb3ab7e1148b5073f68316fe
Reviewed-on: http://review.whamcloud.com/14503
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/acceptor.c