iflib/bridge kernel panic
Felix Kronlage-Dammers
fkr at hazardous.org
Sat Oct 3 19:53:47 UTC 2020
Alexander Leidinger wrote on 03.10.20 17:37:
> Quoting Kristof Provost <kp at 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 at hazardous.org - fkr at irc - @felixkronlage
More information about the freebsd-current
mailing list