diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-lib/src/rpcsvc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc.c b/rpc/rpc-lib/src/rpcsvc.c index dbb07be7fa2..5342376da46 100644 --- a/rpc/rpc-lib/src/rpcsvc.c +++ b/rpc/rpc-lib/src/rpcsvc.c @@ -2211,9 +2211,9 @@ rpcsvc_request_handler(void *arg) list_for_each_entry_safe(req, tmp_req, &tmp_list, request_list) { - list_del_init(&req->request_list); - if (req) { + list_del_init(&req->request_list); + if (req->prognum == RPCSVC_INFRA_PROGRAM) { switch (req->procnum) { case RPCSVC_PROC_EVENT_THREAD_DEATH: |