linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: NeilBrown <neilb@suse.de>
Cc: Chuck Lever <chuck.lever@oracle.com>,
	"J.Bruce Fields" <bfields@fieldses.org>,
	"Myklebust, Trond" <Trond.Myklebust@netapp.com>,
	NFS <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH - libtirpc] Add authgss_free_private_data interface.
Date: Wed, 13 Feb 2013 15:14:06 -0500	[thread overview]
Message-ID: <511BF40E.1020704@RedHat.com> (raw)
In-Reply-To: <20130205112309.1b0945ab@notabene.brown>



On 04/02/13 19:23, NeilBrown wrote:
> This is a necessary partner to authgss_get_private_data, so that
> the caller can free the data when needed (and not before).
> 
> The previous practice of leaving the private data where it was resulted
> in authgss_destroy_context() attempting to destroy the context on the
> server which was incorrect, and fortunately fails for other reasons.
> 
> An application which uses authgss_get_private_data() but does not call
> authgss_free_private_data() will be as correct as, or slightly more
> correct than, it was, but will suffer a slight memory leak.
> 
> This patch is based on commit 07fce317cac267509b944a8191cafa8e49b5e328
> from librpcsecgss that was committed by Kevin Coffman.
> 
> Signed-off-by: NeilBrown <neilb@suse.de>
Committed... 

steved.

           reply	other threads:[~2013-02-13 20:14 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20130205112309.1b0945ab@notabene.brown>]

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=511BF40E.1020704@RedHat.com \
    --to=steved@redhat.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=bfields@fieldses.org \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@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;
as well as URLs for NNTP newsgroup(s).