Re: use tasks and a task_list to manage if_linkstatehooks

2019-11-06 Thread David Gwynne
On Wed, Nov 06, 2019 at 03:12:27PM +1000, David Gwynne wrote: > this is a follow-up to "use tasks and a task_list to manage > if_detachhooks" and converts the link state hooks to a task_list > with pre-allocated tasks. > > it's mostly mechanical, except for carp. each carp interface has a link > s

use tasks and a task_list to manage if_linkstatehooks

2019-11-05 Thread David Gwynne
this is a follow-up to "use tasks and a task_list to manage if_detachhooks" and converts the link state hooks to a task_list with pre-allocated tasks. it's mostly mechanical, except for carp. each carp interface has a link state hook it registers on its parent, but each hook then runs against ever