On Sun, Sep 04, 2016 at 05:43:20PM +0200, Martin Pieuchot wrote: > So we should always pass and ifp index like I did with the > if_input_process() task. Diff attached fix awolk@'s first panic. > > ok?
OK bluhm@ > mq_init(&ifp->if_inputqueue, 8192, IPL_NET); > - task_set(ifp->if_inputtask, if_input_process, > - (void *)(unsigned long)ifp->if_index); > + task_set(ifp->if_inputtask, if_input_process, (void *)ifidx); > + task_set(ifp->if_watchdogtask, if_watchdog_task, (void *)ifidx); > + task_set(ifp->if_linkstatetask, if_linkstate, (void *)ifidx); > + > > /* Announce the interface. */ useless new line
