Searched hist:"0 d737a8c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/dlm/ |
H A D | lowcomms.c | 0d737a8c Tue Aug 11 17:22:21 CDT 2015 Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> 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 <marcelo.leitner@gmail.com> Signed-off-by: David Teigland <teigland@redhat.com> 0d737a8c Tue Aug 11 17:22:21 CDT 2015 Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> 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 <marcelo.leitner@gmail.com> Signed-off-by: David Teigland <teigland@redhat.com>
|