All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH - libtirpc] Add authgss_free_private_data interface.
       [not found] <20130205112309.1b0945ab@notabene.brown>
@ 2013-02-13 20:14 ` Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2013-02-13 20:14 UTC (permalink / raw)
  To: NeilBrown; +Cc: Chuck Lever, J.Bruce Fields, Myklebust, Trond, NFS



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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-13 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130205112309.1b0945ab@notabene.brown>
2013-02-13 20:14 ` [PATCH - libtirpc] Add authgss_free_private_data interface Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.