]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NLM: Fix double free in __nlm_async_call
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 5 Feb 2007 20:33:23 +0000 (12:33 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:29 +0000 (10:50 -0800)
commit610a0848ef255175fa9552406b8582c1df7593bb
tree9351c1af27113b6f45f02b05438c29319fd7cec3
parentaf2fec7364857f677b3f9ee3617ee9fbc849e6bd
NLM: Fix double free in __nlm_async_call

rpc_call_async() will always call rpc_release_calldata(), so it is an
error for __nlm_async_call() to do so as well.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=7923

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/lockd/clntproc.c
fs/lockd/svclock.c