]> err.no Git - linux-2.6/commit
dlm: fix possible use-after-free
authorDavid Teigland <teigland@redhat.com>
Mon, 14 Jan 2008 21:48:58 +0000 (15:48 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Jan 2008 17:04:42 +0000 (11:04 -0600)
commitce5246b972f7514af899a63c0faf831d05ed5ee1
treefe7c58c280bde924f88adf5da2620ecf433293bd
parent755b5eb8bac90b35dc901465a06081aaad94e9ae
dlm: fix possible use-after-free

The dlm_put_lkb() can free the lkb and its associated ua structure,
so we can't depend on using the ua struct after the put.

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