Re: use tasks and a task_list to manage if_addrhooks

2019-11-12 Thread Alexander Bluhm
syzkaller managed to trigger one of the assertions added by this diff. https://syzkaller.appspot.com/bug?id=2f4de8101553f64fcf847f8ed15cd1862b355122 On Thu, Nov 07, 2019 at 09:22:17PM +1000, David Gwynne wrote: > this applies the use of tasks and a task_list to interface address > hooks. it's

use tasks and a task_list to manage if_addrhooks

2019-11-07 Thread David Gwynne
this applies the use of tasks and a task_list to interface address hooks. it's like the detach and linkstate hooks, except it seems other things run the hooks more than things register hooks, and i can't tell if the places that run the hooks have the NET_LOCK or not. not by casual reading anyway.