Frank Filz has uploaded this change for review.

View Change

STATE: When we have a grant cookie we need an obj reference

The way cookie management works, we could wind up needing to release the
state lock but no longer have any obj references which would cause a use
after free.

Add apprpriate get_ref and put_ref to guard against this.

Change-Id: Ifad01b1ab8bce23195d23aff77043b5b835026ca
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/SAL/state_lock.c
1 file changed, 28 insertions(+), 4 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/54/541254/1

To view, visit change 541254. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ifad01b1ab8bce23195d23aff77043b5b835026ca
Gerrit-Change-Number: 541254
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange