[GIT PULL] dlm fixes for 2.6.25-rc2

From: David Teigland
Date: Thu Feb 21 2008 - 16:56:02 EST


Hi Linus,

Please pull two patches from:

git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm.git for-linus

One fixes a regression from the previous patch set, the other updates
MAINTAINERS for the dlm. Thanks

MAINTAINERS | 3 +--
fs/dlm/rcom.c | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)


commit d7c2feaf88df39124e278b9e775b245b057ac99e
Author: David Teigland <teigland@xxxxxxxxxx>
Date: Thu Feb 21 15:27:09 2008 -0600

dlm: update git tree in MAINTAINERS

Signed-off-by: David Teigland <teigland@xxxxxxxxxx>

diff --git a/MAINTAINERS b/MAINTAINERS
index 082d1ee..fd81e06 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1324,8 +1324,7 @@ P: David Teigland
M: teigland@xxxxxxxxxx
L: cluster-devel@xxxxxxxxxx
W: http://sources.redhat.com/cluster/
-T: git kernel.org:/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes.git
-T: git kernel.org:/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw.git
+T: git kernel.org:/pub/scm/linux/kernel/git/teigland/dlm.git
S: Supported

DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER

commit 599e0f584de8ff16b1428e2e16118757619f1d1b
Author: David Teigland <teigland@xxxxxxxxxx>
Date: Thu Feb 21 13:39:57 2008 -0600

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@xxxxxxxxxx>

diff --git a/fs/dlm/rcom.c b/fs/dlm/rcom.c
index 035e6f9..67522c2 100644
--- a/fs/dlm/rcom.c
+++ b/fs/dlm/rcom.c
@@ -215,6 +215,8 @@ int dlm_rcom_names(struct dlm_ls *ls, int nodeid, char *last_name, int last_len)
ls->ls_recover_nodeid = nodeid;

if (nodeid == dlm_our_nodeid()) {
+ ls->ls_recover_buf->rc_header.h_length =
+ dlm_config.ci_buffer_size;
dlm_copy_master_names(ls, last_name, last_len,
ls->ls_recover_buf->rc_buf,
max_size, nodeid);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/