diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2021-09-16 17:24:54 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-09-17 10:35:10 -0400 |
commit | 89c485c7a3ecbc2ebd568f9c9c2edf3a8cf7485b (patch) | |
tree | f07b9c5c7d3a1a3fc251e693ceac5c8843ebeed8 /init | |
parent | 0c217d5066c84f67cd672cf03ec8f682e5d013c2 (diff) |
NLM: Fix svcxdr_encode_owner()
Dai Ngo reports that, since the XDR overhaul, the NLM server crashes
when the TEST procedure wants to return NLM_DENIED. There is a bug
in svcxdr_encode_owner() that none of our standard test cases found.
Replace the open-coded function with a call to an appropriate
pre-fabricated XDR helper.
Reported-by: Dai Ngo <Dai.Ngo@oracle.com>
Fixes: a6a63ca5652e ("lockd: Common NLM XDR helpers")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions