]> git.baikalelectronics.ru Git - kernel.git/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)
commitb2dd3603914d7faf0a729bd512c2a0378599a0db
treefe7c58c280bde924f88adf5da2620ecf433293bd
parent303a51b3b216531a46cd33abd6e291e184d2e5e8
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