diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-01-13 01:18:43 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-01-23 23:42:02 +0300 |
commit | 89835b064fe7421a60e40770c27d38024190a0c8 (patch) | |
tree | d4000883563340c51eca8127a86c33c5e45e8434 /fs/dlm | |
parent | 54fbe0c15d9a8072e2db7f6765f50c995834e2d7 (diff) | |
download | linux-89835b064fe7421a60e40770c27d38024190a0c8.tar.xz |
fs: dlm: ignore unexpected non dlm opts msgs
This patch ignores unexpected RCOM_NAMES/RCOM_STATUS messages.
To be backwards compatible, those messages are not part of the new
reliable DLM OPTS encapsulation header, and have their own
retransmit handling using sequence number matching When we get
unexpected non dlm opts messages, we should allow them and let
RCOM message handling filter them out using sequence numbers.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/midcomms.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/fs/dlm/midcomms.c b/fs/dlm/midcomms.c index ecd81018d1cf..dbc998b2748b 100644 --- a/fs/dlm/midcomms.c +++ b/fs/dlm/midcomms.c @@ -606,16 +606,8 @@ dlm_midcomms_recv_node_lookup(int nodeid, const union dlm_packet *p, case DLM_ESTABLISHED: break; default: - /* some invalid state passive shutdown - * was failed, we try to reset and - * hope it will go on. - */ - log_print("reset node %d because shutdown stuck", - node->nodeid); - - midcomms_node_reset(node); - node->state = DLM_ESTABLISHED; - break; + spin_unlock(&node->state_lock); + return NULL; } spin_unlock(&node->state_lock); } |