From owner-freebsd-current@freebsd.org Tue Oct 6 00:53:12 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CB1F2433CE0 for ; Tue, 6 Oct 2020 00:53:12 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4zTz5CrYz3RVV; Tue, 6 Oct 2020 00:53:11 +0000 (UTC) (envelope-from dmarquess@gmail.com) Received: by mail-ej1-x644.google.com with SMTP id ce10so14921565ejc.5; Mon, 05 Oct 2020 17:53:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jzlpSyBy2y5JatMebp6HUCchWZsCZHTMJHoS2ykJj5A=; b=KtE1mAC2WodzmVeBVZlFr270E2X5Ez+YthpxBnyH6Bi9dXbo2gp3NBYuHNzmLrBami j3wmdhkgrX4z87FWffDCp/TQEDjEyx+t06yMNLfnHPE6qpQdFF88WKYcUbOK+7EBh2EW 0IluEdAPdztuHfrUBXiIaPA/jowC8vB4C6DUjc2c5AMkHlf4lbcjFN7w8uoYkMgSb9el CEdMdivm6+mmYvedtX82TpVqzeWj23Mv0Zs/D6qlyjJcJ1ZqfsSV8Hdh2KTIsQ5EhbEP M1CM0mwZhhpAF4aolHbXXpxPy9mVYCKX0HnQpyoyPblyGxcdJrr/MQfYnnCxbIHkDSOG ss6Q== X-Gm-Message-State: AOAM530Y7oIxapycNspm2+6/DKmxZaci4uNc3ci71ESYgDFM8t7rox1i 6E35Kwd7qN1i/ce8TpIRYvk68gZis09D9RbYgUbXCBEWzC8= X-Google-Smtp-Source: ABdhPJwBDL15S91K1zmGc4V9ZVUsN4VsvG9MdTqJ/6Yrvg0x2D9HiC+m9r2DxZFOKTm3gaRBF49LnMCeglH8Y5p/zuM= X-Received: by 2002:a17:906:3b8e:: with SMTP id u14mr2438571ejf.127.1601945589751; Mon, 05 Oct 2020 17:53:09 -0700 (PDT) MIME-Version: 1.0 References: <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> <20201003173716.Horde.Fjm6kXI836h4ZCLH5SwQkST@webmail.leidinger.net> <62f034f8-e008-6b0f-dee0-396a3bd75f39@hazardous.org> In-Reply-To: <62f034f8-e008-6b0f-dee0-396a3bd75f39@hazardous.org> From: Dustin Marquess Date: Mon, 5 Oct 2020 19:52:58 -0500 Message-ID: Subject: Re: iflib/bridge kernel panic To: FreeBSD Current Cc: Kristof Provost Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4C4zTz5CrYz3RVV X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.19 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.02)[-1.020]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; NEURAL_HAM_LONG(-1.03)[-1.033]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::644:from]; NEURAL_HAM_SHORT(-0.14)[-0.137]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2020 00:53:12 -0000 On Sat, Oct 3, 2020 at 2:54 PM Felix Kronlage-Dammers w= rote: > > Alexander Leidinger wrote on 03.10.20 17:37: > > > Quoting Kristof Provost (from Sat, 03 Oct 2020 16:06:4= 3 > > +0200): > > >> Okay, let=E2=80=99s abandon that patch. It=E2=80=99s ugly and it doesn= =E2=80=99t work. > >> > >> Here=E2=80=99s a different approach that I=E2=80=99m 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. I third that, it works great for me! -Dustin