linux/fs/dlm
David Teigland c78a87d0a1 dlm: fix plock use-after-free
Fix a regression from the original addition of nfs lock support
586759f03e.  When a synchronous
(non-nfs) plock completes, the waiting thread will wake up and
free the op struct.  This races with the user thread in
dev_write() which goes on to read the op's callback field to
check if the lock is async and needs a callback.  This check
can happen on the freed op.  The fix is to note the callback
value before the op can be freed.

Signed-off-by: David Teigland <teigland@redhat.com>
2009-06-18 13:42:42 -05:00
..
ast.c dlm: fs/dlm/ast.c: fix warning 2008-12-23 10:22:56 -06:00
ast.h dlm: improve how bast mode handling 2008-12-23 10:16:46 -06:00
config.c dlm: choose better identifiers 2008-09-05 09:51:30 -05:00
config.h
debug_fs.c dlm: change rsbtbl rwlock to spinlock 2009-01-08 15:12:39 -06:00
dir.c dlm: use more NOFS allocation 2009-05-15 11:24:59 -05:00
dir.h
dlm_internal.h dlm: Change rwlock which is only used in write mode to a spinlock 2009-01-28 12:55:55 -06:00
Kconfig
lock.c dlm: Fix uninitialised variable warning in lock.c 2009-06-17 11:31:32 -05:00
lock.h
lockspace.c dlm: fix use count with multiple joins 2009-05-07 10:14:42 -05:00
lockspace.h dlm: detect available userspace daemon 2008-08-28 11:49:43 -05:00
lowcomms.c dlm: use more NOFS allocation 2009-05-15 11:24:59 -05:00
lowcomms.h dlm: connect to nodes earlier 2009-05-15 09:34:12 -05:00
lvb_table.h
main.c
Makefile
member.c dlm: use more NOFS allocation 2009-05-15 11:24:59 -05:00
member.h
memory.c dlm: fix up memory allocation flags 2008-12-23 10:15:40 -06:00
memory.h
midcomms.c dlm: fix up memory allocation flags 2008-12-23 10:15:40 -06:00
midcomms.h
netlink.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm 2009-01-05 19:02:09 -08:00
plock.c dlm: fix plock use-after-free 2009-06-18 13:42:42 -05:00
rcom.c
rcom.h
recover.c dlm: change rsbtbl rwlock to spinlock 2009-01-08 15:12:39 -06:00
recover.h
recoverd.c
recoverd.h
requestqueue.c dlm: use more NOFS allocation 2009-05-15 11:24:59 -05:00
requestqueue.h
user.c dlm: fix length calculation in compat code 2009-03-11 12:23:59 -05:00
user.h dlm: improve how bast mode handling 2008-12-23 10:16:46 -06:00
util.c
util.h