Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Oct 2020 21:53:38 +0200
From:      Felix Kronlage-Dammers <fkr@hazardous.org>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        Kristof Provost <kp@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: iflib/bridge kernel panic
Message-ID:  <62f034f8-e008-6b0f-dee0-396a3bd75f39@hazardous.org>
In-Reply-To: <20201003173716.Horde.Fjm6kXI836h4ZCLH5SwQkST@webmail.leidinger.net>
References:  <CAExMvskTkVprZsfXHBUv9stpiCo1QBAzoOg1VrWd4kRbz0NyJg@mail.gmail.com> <58CADEBB-64FD-414E-AB19-E4F8D3CABCA5@FreeBSD.org> <20200921121627.3dovpumnl6xub3kn@mutt-hbsd> <7FE1F106-2CEE-4692-95D0-14C5229ED768@FreeBSD.org> <20200928124531.Horde.0EjsBzIG5ktLzby_tFcoPPS@webmail.leidinger.net> <33903BFF-4158-4CD9-AD79-360BCD81F1C9@FreeBSD.org> <20200928164410.Horde.mYBkuEeD_Q6xgnKnwNomv7P@webmail.leidinger.net> <6A5EFCFA-C0DC-4DEF-834B-2F9E4FCC8812@FreeBSD.org> <20200930135225.Horde.nVCxwqfnkoJfolbDU0hqqXf@webmail.leidinger.net> <B851D1E5-7824-4BD3-A4AF-5F2EDA44D88E@FreeBSD.org> <20201003173716.Horde.Fjm6kXI836h4ZCLH5SwQkST@webmail.leidinger.net>

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

Alexander Leidinger wrote on 03.10.20 17:37:

> Quoting Kristof Provost <kp@freebsd.org> (from Sat, 03 Oct 2020 16:06:43
> +0200):

>> Okay, let’s abandon that patch. It’s ugly and it doesn’t work.
>>
>> Here’s a different approach that I’m much happier with.
>> https://people.freebsd.org/~kp/0001-bridge-Call-member-interface-ioctl-without-NET_EPOCH.patch
>>
>>
>> It passes the regression tests with WITNESS and INVARIANTS enabled,
>> and a hack in the epair ioctl() handler to make it sleep (to look a
>> bit like the Intel ioctl() handler that currently trips up if_bridge).
> Works for me.
> No crash, no LOR, promisc-mode stays enabled, jails are reachable.

indeed! I can second that. Works nicely, my machine does not panic
anymore and machines (bhyve vms) behind the bridge are reachable.


felix

-- 
GPG/PGP: 7A0B612C / 5F4D 9B06 C240 3250 35BF 66ED 1AD3 A9B8 7A0B 612C
https://hazardous.org/ - fkr@hazardous.org - fkr@irc - @felixkronlage



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62f034f8-e008-6b0f-dee0-396a3bd75f39>