1
0
Files
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
..
2008-12-23 10:22:56 -06:00
2008-12-23 10:16:46 -06:00
2008-09-05 09:51:30 -05:00
2009-05-15 11:24:59 -05:00
2008-04-21 11:18:01 -05:00
2009-05-15 11:24:59 -05:00
2009-05-15 09:34:12 -05:00
2008-04-21 11:22:28 -05:00
2008-04-21 11:22:28 -05:00
2009-05-15 11:24:59 -05:00
2008-01-30 11:04:42 -06:00
2008-12-23 10:15:40 -06:00
2008-12-23 10:15:40 -06:00
2009-06-18 13:42:42 -05:00
2008-02-21 15:19:54 -06:00
2009-05-15 11:24:59 -05:00
2008-12-23 10:16:46 -06:00
2008-02-04 01:23:43 -06:00