Suhrud Patankar has uploaded this change for review.

View Change

Don't call nfs_req_creds if we don't have export

For NLM calls with BAD handle the op_ctx->ctx_export is NULL.
Do not do access checks in this case.

This avoids crash in nfs_req_creds.

Change-Id: Iaa991747cf50fcba3f8ebd57c13b3c33f781f577
Signed-off-by: Suhrud Patankar <suhrudpatankar@gmail.com>
---
M src/MainNFSD/nfs_worker_thread.c
1 file changed, 2 insertions(+), 3 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa991747cf50fcba3f8ebd57c13b3c33f781f577
Gerrit-Change-Number: 438769
Gerrit-PatchSet: 1
Gerrit-Owner: Suhrud Patankar <suhrudpatankar@gmail.com>