>From Malahal <mala...@gmail.com>:

Malahal has uploaded a new change for review.

  https://review.gerrithub.io/297065

Change subject: Ensure that GSS context stored in client record doesn't get 
destroyed
......................................................................

Ensure that GSS context stored in client record doesn't get destroyed

We currently store GSS context (gd->ctx) in nfs_client_id_t
structure, but don't ensure that it doesn't get destroyed.
Commit 3a34bedef9dc3796ee7a55e3ba7d1966f2adb2a9 started using
this possibly freed context memory leading to crashes!

Store svc_rpc_gss_data pointer and appropriately adjust its refcnt
to ensure that it doesn't get freed prematurely.

Change-Id: I6f2dcd1ac14e31bd8216096fdb3ae9415affee8b
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/SAL/nfs4_clientid.c
M src/include/nfs_proto_data.h
M src/support/nfs_creds.c
3 files changed, 25 insertions(+), 4 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/65/297065/1
-- 
To view, visit https://review.gerrithub.io/297065
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6f2dcd1ac14e31bd8216096fdb3ae9415affee8b
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Malahal <mala...@gmail.com>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to