Re: vlan and bridge panic with latest snapshot

2020-06-22 Thread Martin Ziemer
On Mon, Jun 22, 2020 at 11:11:47AM +0200, Claudio Jeker wrote: > This crashes are because of wg(4) calling the interface ioctl handler > without holding the netlock() this is not allowed. > > As a quick fix this diff may work. > -- > :wq Claudio > > Index: net/if.c >

Re: vlan and bridge panic with latest snapshot

2020-06-22 Thread Stefan Sperling
On Mon, Jun 22, 2020 at 12:37:03PM +0200, Hrvoje Popovski wrote: > for some reason i couldn't reproduce panic if i compile kernel with > WITNESS and after that with or without your "if.c if_wg.c" commit The bug might not trigger if your ifconfig binary and kernel out of sync. But that's just

Re: vlan and bridge panic with latest snapshot

2020-06-22 Thread Hrvoje Popovski
On 22.6.2020. 11:11, Claudio Jeker wrote: > On Sun, Jun 21, 2020 at 08:51:53PM +0200, Hrvoje Popovski wrote: >> Hi all, >> >> with today's snapshot from 21-Jun-2020 09:34 >> OpenBSD 6.7-current (GENERIC.MP) #286: Sun Jun 21 08:51:29 MDT 2020 >>

Re: vlan and bridge panic with latest snapshot

2020-06-22 Thread Claudio Jeker
On Sun, Jun 21, 2020 at 08:51:53PM +0200, Hrvoje Popovski wrote: > Hi all, > > with today's snapshot from 21-Jun-2020 09:34 > OpenBSD 6.7-current (GENERIC.MP) #286: Sun Jun 21 08:51:29 MDT 2020 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > if i do "ifconfig vlan"

vlan and bridge panic with latest snapshot

2020-06-21 Thread Hrvoje Popovski
Hi all, with today's snapshot from 21-Jun-2020 09:34 OpenBSD 6.7-current (GENERIC.MP) #286: Sun Jun 21 08:51:29 MDT 2020 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP if i do "ifconfig vlan" i'm getting assert x3550m4# ifconfig vlan vlan100: flags=8splassert: