From: J. Bruce Fields Date: Tue, 24 Jul 2007 01:43:52 +0000 (-0700) Subject: nfsd: fix possible oops on re-insertion of rpcsec_gss modules X-Git-Tag: v2.6.23-rc2~308 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb276805803b8e0616159d80a441ab26a931ada4;p=pandora-kernel.git nfsd: fix possible oops on re-insertion of rpcsec_gss modules The handling of the re-registration case is wrong here; the "test" that was returned from auth_domain_lookup will not be used again, so that reference should be put. And auth_domain_lookup never did anything with "new" in this case, so we should just clean it up ourself. Thanks to Akinobu Mita for bug report, analysis, and testing. Cc: Akinobu Mita Signed-off-by: "J. Bruce Fields" Cc: Neil Brown Cc: Trond Myklebust Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed