Re: [PATCH - libtirpc] Add authgss_free_private_data interface.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxx>
Committed... 

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux