Re: assert "sc->sc_dev == NUM" failed in if_tun.c (2)

2022-02-24 Thread Visa Hankala
On Thu, Feb 24, 2022 at 07:39:54PM +1000, David Gwynne wrote: > claudio and i came up with the following, which is to have tun_dev_open > check the state of the vnode associated with the current open call > after all the sleeping and potential tun_clone_destroy and > tun_clone_create calls. if the

Re: assert "sc->sc_dev == NUM" failed in if_tun.c (2)

2022-02-24 Thread Claudio Jeker
On Thu, Feb 24, 2022 at 08:56:59PM +1000, David Gwynne wrote: > On Thu, Feb 24, 2022 at 11:13:48AM +0100, Claudio Jeker wrote: > > On Thu, Feb 24, 2022 at 07:39:54PM +1000, David Gwynne wrote: > > > > > > here's the diff. > > > > > > Index: if_tun.c > > >

Re: assert "sc->sc_dev == NUM" failed in if_tun.c (2)

2022-02-24 Thread David Gwynne
On Thu, Feb 24, 2022 at 11:13:48AM +0100, Claudio Jeker wrote: > On Thu, Feb 24, 2022 at 07:39:54PM +1000, David Gwynne wrote: > > > > here's the diff. > > > > Index: if_tun.c > > === > > RCS file: /cvs/src/sys/net/if_tun.c,v > >

Re: assert "sc->sc_dev == NUM" failed in if_tun.c (2)

2022-02-24 Thread Claudio Jeker
On Thu, Feb 24, 2022 at 07:39:54PM +1000, David Gwynne wrote: > On Mon, Feb 21, 2022 at 03:00:01PM +1000, David Gwynne wrote: > > On Sun, Feb 20, 2022 at 10:30:22AM +1000, David Gwynne wrote: > > > > > > > > > > On 20 Feb 2022, at 09:46, David Gwynne wrote: > > > > > > > > On Sat, Feb 19, 2022

Re: assert "sc->sc_dev == NUM" failed in if_tun.c (2)

2022-02-24 Thread David Gwynne
On Mon, Feb 21, 2022 at 03:00:01PM +1000, David Gwynne wrote: > On Sun, Feb 20, 2022 at 10:30:22AM +1000, David Gwynne wrote: > > > > > > > On 20 Feb 2022, at 09:46, David Gwynne wrote: > > > > > > On Sat, Feb 19, 2022 at 02:58:08PM -0800, Greg Steuck wrote: > > >> There's no reproducer, but