diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-10 09:08:37 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 332beb64b886ee811ae0df05f1f3f21628c100b7 (patch) | |
| tree | 95dfe35b6a90082d4ce572aeb2d46c22ff53564e /pathd/pathd.c | |
| parent | 907a2395f423e3b97335d554557c2cef7195db84 (diff) | |
*: Convert thread_cancelXXX to event_cancelXXX
Modify the code base so that thread_cancel becomes event_cancel
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pathd/pathd.c')
| -rw-r--r-- | pathd/pathd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/pathd.c b/pathd/pathd.c index 0b7792a5cc..d1c0c82d9d 100644 --- a/pathd/pathd.c +++ b/pathd/pathd.c @@ -1329,7 +1329,7 @@ void trigger_pathd_candidate_removed(struct srte_candidate *candidate) /* The hook needs to be call synchronously, otherwise the candidate path will be already deleted when the handler is called */ if (candidate->hook_timer != NULL) { - thread_cancel(&candidate->hook_timer); + event_cancel(&candidate->hook_timer); candidate->hook_timer = NULL; } hook_call(pathd_candidate_removed, candidate); |
