diff options
| author | Jeff Layton <[email protected]> | 2025-06-20 12:16:03 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-07-14 16:46:48 +0000 |
| commit | c8af9d3d4be25dd25845c6d67b32f30d01bf921a (patch) | |
| tree | e8548f8d164f38f0318655e8582fe0ef6c3668c1 /rust/helpers/helpers.c | |
| parent | sunrpc: remove SVC_SYSERR (diff) | |
| download | kernel-c8af9d3d4be25dd25845c6d67b32f30d01bf921a.tar.gz kernel-c8af9d3d4be25dd25845c6d67b32f30d01bf921a.zip | |
sunrpc: reset rq_accept_statp when starting a new RPC
rq_accept_statp should point to the location of the accept_status in the
reply. This field is not reset between RPCs so if svc_authenticate or
pg_authenticate return SVC_DENIED without setting the pointer, it could
result in the status being written to the wrong place.
This pointer starts its lifetime as NULL. Reset it on every iteration
so we get consistent behavior if this happens.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
