summaryrefslogtreecommitdiff
path: root/scripts/unifdef.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-06-20 08:16:03 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-07-14 12:46:48 -0400
commitc8af9d3d4be25dd25845c6d67b32f30d01bf921a (patch)
treee8548f8d164f38f0318655e8582fe0ef6c3668c1 /scripts/unifdef.c
parent6f0e26243b02f440938ab7a3782eb730f2247fb1 (diff)
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 <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions