summaryrefslogtreecommitdiff
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-01-09 18:59:41 +0300
committerDavid Teigland <teigland@redhat.com>2008-01-30 20:04:42 +0300
commitc54e04b00fe027da30ada5af76b6749772dd644a (patch)
tree753945bb24638e9798220b2880650b4ba3211e40 /kernel/pid.c
parent46b43eed7018bab3a4e8c259eed27697b9170cb8 (diff)
downloadlinux-c54e04b00fe027da30ada5af76b6749772dd644a.tar.xz
dlm: validate messages before processing
There was some hit and miss validation of messages that has now been cleaned up and unified. Before processing a message, the new validate_message() function checks that the lkb is the appropriate type, process-copy or master-copy, and that the message is from the correct nodeid for the the given lkb. Other checks and assertions on the lkb type and nodeid have been removed. The assertions were particularly bad since they would panic the machine instead of just ignoring the bad message. Although other recent patches have made processing old message unlikely, it still may be possible for an old message to be processed and caught by these checks. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions