]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: don't close socket on invalid message
authorAlexander Aring <aahringo@redhat.com>
Mon, 27 Jul 2020 13:13:36 +0000 (09:13 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 6 Aug 2020 15:30:53 +0000 (10:30 -0500)
commitd247b4694ca58f6b96d89f418d9701c1e034ef32
tree42a9ae5874063919395c13df5097c0f6a3269618
parent8893f8940a91a5b12a97442598a9510934f8a572
fs: dlm: don't close socket on invalid message

This patch doesn't close sockets when there is an invalid dlm message
received. The connection will probably reconnect anyway so. To not
close the connection will reduce the number of possible failtures.
As we don't have a different strategy to react on such scenario
just keep going the connection and ignore the message.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c