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: NTadashi Miyauchi <miayuchi@toshiba-tops.co.jp> Signed-off-by: NTsutomu Owa <tsutomu.owa@toshiba.co.jp> Signed-off-by: NDavid Teigland <teigland@redhat.com>
Showing
想要评论请 注册 或 登录