aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2024-09-27 16:49:01 +1000
committerAnna Schumaker <[email protected]>2024-09-30 15:37:07 -0400
commit1d498df44e709d9708c0bf666012933bbc7ef1d6 (patch)
tree8c2c3959a0c018a5e1e553902eebfd662abc808f /scripts/generate_rust_analyzer.py
parent37578c682cf47bafe29fef29d177b1f38b021db9 (diff)
sunrpc: fix prog selection loop in svc_process_common
If the rq_prog is not in the list of programs, then we use the last program in the list and we don't get the expected rpc_prog_unavail error as the subsequent tests on 'progp' being NULL are ineffective. We should only assign progp when we find the right program, and we should initialize it to NULL Reported-by: Dan Carpenter <[email protected]> Fixes: 86ab08beb3f0 ("SUNRPC: replace program list with program array") Signed-off-by: NeilBrown <[email protected]> Acked-by: Chuck Lever <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions