diff options
author | 2023-01-12 17:10:37 -0500 | |
---|---|---|
committer | 2023-01-23 14:30:07 -0600 | |
commit | 00908b3388255fc1d3782b744d07f327712f401f (patch) | |
tree | 0766c957e81f6dea5a0d47c38736f9a687d26b5a /fs/dlm/rcom.c | |
parent | fs: dlm: move sending fin message into state change handling (diff) | |
download | linux-00908b3388255fc1d3782b744d07f327712f401f.tar.gz linux-00908b3388255fc1d3782b744d07f327712f401f.tar.bz2 linux-00908b3388255fc1d3782b744d07f327712f401f.zip |
fs: dlm: send FIN ack back in right cases
This patch moves to send a ack back for receiving a FIN message only
when we are in valid states. In other cases and there might be a sender
waiting for a ack we just let it timeout at the senders time and
hopefully all other cleanups will remove the FIN message on their
sending queue. As an example we should never send out an ACK being in
LAST_ACK state or we cannot assume a working socket communication when
we are in CLOSED state.
Cc: stable@vger.kernel.org
Fixes: 489d8e559c65 ("fs: dlm: add reliable connection if reconnect")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/rcom.c')
0 files changed, 0 insertions, 0 deletions