On Tue, Jun 28, 2022 at 12:44:30PM +0300, Vitaliy Makkoveev wrote: > ether_input() called with shared netlock, but pppoe(4) wants it to be > exclusive. Do the pppoe(4) input within netisr handler with exclusive > netlok held, and remove kernel lock hack from ether_input(). > > This is the step back, but it makes ether_input() path better then it > is now. > > ok?
OK bluhm@
> +#if NPPPOE > 0
> + if (n & (1 << NETISR_PPPOE)) {
> + pppoeintr();
> + }
> #endif
You don't need the { }
