Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 14:35:25 -0700
From:      maksim yevmenkin <maksim.yevmenkin@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Hans Petter Selasky <hps@selasky.org>, "mms.vanbreukelingen@gmail.com" <mms.vanbreukelingen@gmail.com>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Kernel-Crash when working with ubt0
Message-ID:  <00E772F0-7231-44C4-B314-26730CC7DF21@gmail.com>
In-Reply-To: <CANCZdfpJARVFz%2BCyvbAK9sH4E6__DPAunYQz5rxexO-mzuvsuw@mail.gmail.com>
References:  <47509401.1440476.1566796167857.ref@mail.yahoo.com> <47509401.1440476.1566796167857@mail.yahoo.com> <5aa8faeb-5e8e-38be-4301-81f3d82c494a@selasky.org> <CANCZdfpJARVFz%2BCyvbAK9sH4E6__DPAunYQz5rxexO-mzuvsuw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On Aug 26, 2019, at 9:14 AM, Warner Losh <imp@bsdimp.com> wrote:
>=20
> Is it from read_connection_list? If so I have a 'patch' that I'm using but=

> haven't committed because it's just too gross: drop the lock before the
> copyout and pick it up again after...
>=20

Hmm... interesting....=20

I only took a brief look at it. I suppose I can ensure user space address is=
 wired and then copyout() can be called with mutex held

It=E2=80=99s odd that I=E2=80=99ve never seen this before. I=E2=80=99m trave=
ling at the moment will take a closer look this later this week

Thanks
Max=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00E772F0-7231-44C4-B314-26730CC7DF21>