]> git.baikalelectronics.ru Git - kernel.git/commit
DLM: fix to use sock_mutex correctly in xxx_accept_from_sock
authortsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp>
Tue, 12 Sep 2017 08:56:00 +0000 (08:56 +0000)
committerDavid Teigland <teigland@redhat.com>
Mon, 25 Sep 2017 17:45:21 +0000 (12:45 -0500)
commit8227a8f6005838b610e31398010df94819c3bc70
treebb0bd450da10d4ea1281dfdad7bfb417fde5cad2
parentcd22a60a1dd1ce7fca237109ee40c07b014c4806
DLM: fix to use sock_mutex correctly in xxx_accept_from_sock

In the current implementation, we think that exclusion control
for othercon in tcp_accept_from_sock() and sctp_accept_from_sock()
was not enough. We fix them.

Signed-off-by: Tadashi Miyauchi <miyauchi@toshiba-tops.co.jp>
Signed-off-by: Tsutomu Owa <tsutomu.owa@toshiba.co.jp>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c