On 30.07.2020 12:05, Andre Stoebe wrote:
> On 29.07.2020 15:01, Jonathan Gray wrote:
>> more fallout of intr_barrier() now using the argument
>>
>> Index: sys/dev/pv/if_hvn.c
>> ===================================================================
>> RCS file: /cvs/src/sys/dev/pv/if_hvn.c,v
>> retrieving revision 1.41
>> diff -u -p -r1.41 if_hvn.c
>> --- sys/dev/pv/if_hvn.c      10 Jul 2020 13:26:40 -0000      1.41
>> +++ sys/dev/pv/if_hvn.c      29 Jul 2020 12:52:09 -0000
>> @@ -451,7 +451,7 @@ hvn_stop(struct hvn_softc *sc)
>>      }
>>  
>>      ifq_barrier(&ifp->if_snd);
>> -    intr_barrier(sc->sc_chan);
>> +    sched_barrier(NULL);
>>  
>>      ifq_clr_oactive(&ifp->if_snd);
>>  }
> 
> Hi Jonathan,
> 
> I can confirm that this fixes the panic.
> 
> Thanks,
> Andre

Can this or a similar fix get committed? It's broken for some time now.

Reply via email to