From: Akinobu Mita <akinobu.mita@gmail.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Neil Brown <neilb@suse.de>,
Andy Adamson <andros@citi.umich.edu>,
"J. Bruce Fields" <bfields@citi.umich.edu>,
Trond Myklebust <Trond.Myklebust@netapp.com>
Subject: [PATCH] sunrpc/auth_gss: auth_domain refcount fix
Date: Wed, 1 Nov 2006 04:49:59 +0900 [thread overview]
Message-ID: <20061031194959.GA9015@localhost> (raw)
In-Reply-To: <20061031015121.dfc7e02a.akpm@osdl.org>
Please put this patch together with
auth_gss-unregister-gss_domain-when-unloading-module.patch.
Because recent auth_domain_lookup() refcounting change affected it.
Subject: [PATCH] sunrpc/auth_gss: auth_domain refcount fix
It is unnecessary to decrease refcount after auth_domain_lookup()
when new entry is inserted.
Cc: Neil Brown <neilb@suse.de>
Cc: Andy Adamson <andros@citi.umich.edu>
Cc: J. Bruce Fields <bfields@citi.umich.edu>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Index: 2.6-mm/net/sunrpc/auth_gss/svcauth_gss.c
===================================================================
--- 2.6-mm.orig/net/sunrpc/auth_gss/svcauth_gss.c
+++ 2.6-mm/net/sunrpc/auth_gss/svcauth_gss.c
@@ -770,7 +770,6 @@ svcauth_gss_register_pseudoflavor(u32 ps
kfree(new->h.name);
goto out_free_dom;
}
- auth_domain_put(&new->h);
return 0;
out_free_dom:
next prev parent reply other threads:[~2006-10-31 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-31 9:51 2.6.19-rc4-mm1 Andrew Morton
2006-10-31 19:49 ` Akinobu Mita [this message]
2006-11-01 19:35 ` 2.6.19-rc4-mm1 Len Brown
2006-11-01 20:48 ` 2.6.19-rc4-mm1 Andrew Morton
2006-11-02 6:01 ` 2.6.19-rc4-mm1 Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061031194959.GA9015@localhost \
--to=akinobu.mita@gmail.com \
--cc=Trond.Myklebust@netapp.com \
--cc=akpm@osdl.org \
--cc=andros@citi.umich.edu \
--cc=bfields@citi.umich.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox