path: root/extras/hook-scripts
diff options
authorRajesh Joseph <>2013-10-03 15:08:34 +0530
committerAnand Avati <>2013-10-04 20:15:41 -0700
commit1f6b0f5cfc5abebe3a8facfb8b72e5554c1314d2 (patch)
tree2389ff88135e3d7028125dfa9acddbb7972d2f6b /extras/hook-scripts
parent31cacce7702d1f08270c0b2f84ea0fdfcae6b3e0 (diff)
NFS: showmount timesout on fetching export list
Bug: 1015184 Issue: showmount timesout on fetching export list. Socket writev function is failing. Cause: XDR encoding of export list is failing. The calling function without checking the error returned by xdr_serialize_exports function is going ahead and writting into the socket causing the NFS process to hang. xdr_serialize_exports function returns -1 on error and message length on success. Fix: Caller should check if the function is returning -1 (error) or not before proceeding. Change-Id: Ic3a5a9356e47b2ac938dd3e429cf2b71c0a0c715 Signed-off-by: Rajesh Joseph <> Reviewed-on: Reviewed-by: Santosh Pradhan <> Reviewed-by: Niels de Vos <> Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'extras/hook-scripts')
0 files changed, 0 insertions, 0 deletions