mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 20:10:36 +00:00
Merge pull request #4159 from sworleys/WQ-ErrFunc-Fix
lib: Fix workqueue error function callback
This commit is contained in:
commit
9f9e9ef825
@ -280,7 +280,7 @@ int work_queue_run(struct thread *thread)
|
||||
if (item->ran > wq->spec.max_retries) {
|
||||
/* run error handler, if any */
|
||||
if (wq->spec.errorfunc)
|
||||
wq->spec.errorfunc(wq, item->data);
|
||||
wq->spec.errorfunc(wq, item);
|
||||
work_queue_item_remove(wq, item);
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user