From: Marcelo Ricardo Leitner Date: Tue, 11 Aug 2015 22:22:21 +0000 (-0300) Subject: dlm: fix race while closing connections X-Git-Tag: omap-for-v4.3/fixes-rc1~106^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d737a8cfd8341d6ba8215443a3ddfe5ddd4e51a;p=pandora-kernel.git dlm: fix race while closing connections When a connection have issues DLM may need to close it. Therefore we should also cancel pending workqueues for such connection at that time, and not just when dlm is not willing to use this connection anymore. Also, if we don't clear CF_CONNECT_PENDING flag, the error handling routines won't be able to re-connect as lowcomms_connect_sock() will check for it. Signed-off-by: Marcelo Ricardo Leitner Signed-off-by: David Teigland --- Reading git-diff-tree failed