]> git.hungrycats.org Git - linux/commit
[PATCH] nfsd: fix ip_map cache reference count leak.
authorNeil Brown <neilb@cse.unsw.edu.au>
Mon, 23 Aug 2004 06:01:08 +0000 (23:01 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 06:01:08 +0000 (23:01 -0700)
commit45bf77b483f2cf8e5aee5aff7d42b073977a7a1b
tree890b89e8027a981bae6338ba5f9c897bdfb1cdeb
parent086aa2c5b81b0bf6af86a136f295bca6aad70680
[PATCH] nfsd: fix ip_map cache reference count leak.

Fix a leak: when auth_unix_lookup sets CACHE_NEGATIVE, it should also
auth_domain_put() the reference it holds in ipm->m_client, since setting
CACHE_NEGATIVE prevents ip_map_put() from putting the reference itself.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/svcauth_unix.c