commit | b2a6662932c52304eee11323701f8a01aa110e37 | [log] [tgz] |
---|---|---|
author | tsutomu.owa@toshiba.co.jp <tsutomu.owa@toshiba.co.jp> | Tue Sep 12 08:55:50 2017 +0000 |
committer | David Teigland <teigland@redhat.com> | Mon Sep 25 12:45:21 2017 -0500 |
tree | 094b58c402c38d5fea012fefd4d029c7c0d4af90 | |
parent | f0fb83cb9201a9f272f8ac771eed6b1e5745375c [diff] |
DLM: fix race condition between dlm_send and dlm_recv When kernel_sendpage(in send_to_sock) and kernel_recvmsg (in receive_from_sock) return error, close_connection may works at the same time. At that time, they may wait for each other by cancel_work_sync. Signed-off-by: Tadashi Miyauchi <miayuchi@toshiba-tops.co.jp> Signed-off-by: Tsutomu Owa <tsutomu.owa@toshiba.co.jp> Signed-off-by: David Teigland <teigland@redhat.com>