]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: fix rcom_names message to self
authorDavid Teigland <teigland@redhat.com>
Thu, 21 Feb 2008 19:39:57 +0000 (13:39 -0600)
committerDavid Teigland <teigland@redhat.com>
Thu, 21 Feb 2008 21:19:54 +0000 (15:19 -0600)
commitfd5a2426c473460d631a8a5b383dd57fc149edb4
tree2c7cc24266290200cedf732b8bca28cc1b266583
parent30de79f43be04bd08fe1bddb6124b2574a6a122c
dlm: fix rcom_names message to self

The recent patch to validate data lengths in rcom_names messages
failed to account for fake messages a node directs to itself before
ever sending it.  In this case we need to fill in the message length
in the header for the validation code to use.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/rcom.c