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)
commitc7355827b27c550824bbcc1f0586cf993bf83d94
treebb0bd450da10d4ea1281dfdad7bfb417fde5cad2
parentb2a6662932c52304eee11323701f8a01aa110e37
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