>From Malahal <[email protected]>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/379609


Change subject: Fix dec_client_record_ref accessing freed memory
......................................................................

Fix dec_client_record_ref accessing freed memory

nfs_client_record_t refcount can go up from zero in get_client_record().
This can lead to multiple threads finding the refcount as zero in
dec_client_record_ref() and they all try to remove the record from the
hash table. Worse, they may find a record that belongs to some other
thread and free it incorrectly.

Change-Id: Iafcd46efa70c86c4ae0bc4d289e03b11c6b6f95d
Signed-off-by: Malahal Naineni <[email protected]>
---
M src/SAL/nfs4_clientid.c
1 file changed, 52 insertions(+), 51 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iafcd46efa70c86c4ae0bc4d289e03b11c6b6f95d
Gerrit-Change-Number: 379609
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <[email protected]>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to