tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: protect pmf from network drivers that don't provide if_stop



On Tue, Jun 29, 2021 at 02:36:35PM +0200, Martin Husemann wrote:
> 
> It is already merge hell and all drivers do it completley different on
> the branch - so I'd prefer not to touch all drivers in head.
> 

OK, I won't bash on the drivers then.

> Not calling it if NULL is fine (we could do that now), but we should
> make sure all drivers properly set it - only now is not a good time to
> KASSERT for it, we should add that after the merge.
> 

So, does this mean its ok to commit what I proposed to prevent the panic
with a view to the drivers being fixed in the future?

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index