diff options
author | 2023-01-12 17:10:35 -0500 | |
---|---|---|
committer | 2023-01-23 13:59:26 -0600 | |
commit | 15c63db8e86a72e0d5cfb9bf0cd1870e39a3e5fe (patch) | |
tree | bff9e9d17806b5e00bcb4e24ed6e042a95ed38d0 /net | |
parent | fs: dlm: fix race setting stop tx flag (diff) | |
download | linux-15c63db8e86a72e0d5cfb9bf0cd1870e39a3e5fe.tar.gz linux-15c63db8e86a72e0d5cfb9bf0cd1870e39a3e5fe.tar.bz2 linux-15c63db8e86a72e0d5cfb9bf0cd1870e39a3e5fe.zip |
fs: dlm: don't set stop rx flag after node reset
Similar to the stop tx flag, the rx flag should warn about a dlm message
being received at DLM_FIN state change, when we are assuming no other
dlm application messages. If we receive a FIN message and we are in the
state DLM_FIN_WAIT2 we call midcomms_node_reset() which puts the
midcomms node into DLM_CLOSED state. Afterwards we should not set the
DLM_NODE_FLAG_STOP_RX flag any more. This patch changes the setting
DLM_NODE_FLAG_STOP_RX in those state changes when we receive a FIN
message and we assume there will be no other dlm application messages
received until we hit DLM_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 'net')
0 files changed, 0 insertions, 0 deletions