From nobody Thu Apr 18 02:19:49 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VKhLY5TZcz5Hd9y for ; Thu, 18 Apr 2024 02:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VKhLY4RQWz44GQ for ; Thu, 18 Apr 2024 02:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713406789; a=rsa-sha256; cv=none; b=yqGxCsj/6r/OIkQ99noHsj2e6+ShGxEd2lchpFNHmg7jb3jC0AgsExzPVAE3yBq4D4CThm oEdBU608uvYf6vbgOysI4pojhUEx0tEonEswrFopniJX878Yldxf4SNzN+YVlRDFFx+7MU iYBl215hKYQ0p/x7ehhui7H1V915F4+HhZfuEFMuLpzUF3/fgGjw5fS4TqpJXC2jUiE/Ym YnYG7qjttUot1fHvndbIvRRwZJ9gS3N5jzmHg2T6acHNXOTwlyJi+RrGagV3kByviLEyCx 13Sw6u0ThXpCYdPj8DGLqvDk1mmo13cOsTFbNS/V9Xp3TqRqypYfRd4D9D36Tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713406789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KgO6GaSIYBWtYfsSojgjLOQd/R2yf4K6RqjEdcNjcxY=; b=oCrGd4iuJH8qD+FAc9a8tmusCFsO4Fx6miss5BhM2jCyBbxoxL8gRCD4RcK78wuB3jlVVQ eXBSipZl14gnW1StRR/yuq3hk9ENmCZDlo9/IY96d0IFWtJLFybUOfQknYoEwB64oP7ZfP LRA00fM5af5sPgHNXyawRG9WvySVzQe1HkKJXs8xSZxHBR+P2suMroOGbvRgNJx6FZx63O WqSLv+8c7XAivPClJYmnWd+hW+j/jH3CYHaUppjzD/4Oqp9LvWxHY/Fn9y52NbZe2QCRXW mwJzXB5vpZuzL1aRwS5iLm8m31ZyBQE9B8xcf0uKmSrjOMo/5wyzTd0/04eYYA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VKhLY3wpRzrmH for ; Thu, 18 Apr 2024 02:19:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43I2JnwP091652 for ; Thu, 18 Apr 2024 02:19:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43I2Jnoo091645 for net@FreeBSD.org; Thu, 18 Apr 2024 02:19:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 278394] Reproducible kernel panic related to IPv4 routes populated by bird2 (BGP) Date: Thu, 18 Apr 2024 02:19:49 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278394 --- Comment #19 from Zhenlei Huang --- @Gregory bird2 learned more precise route for remote end of the vxlan tunnel from the vxlan interface. When that route was installed into kernel FIB then it ende= d up recursive encapsulation. Unfortunately vxlan(4) does not handle the recursi= ve correctly and thus results in kernel stack overflow. As a workaround, use a dedicated fib for vxlan tunnel. Assume x.x.x.x is yo= ur tunnel remote end, and y.y.y.y is original route for x.x.x.x . ``` # sysctl -n net.fibs=3D2 1 -> 2 # route add x.x.x.x y.y.y.y -fib 1 # ifconfig vxlan0 tunnelfib 1 ``` Now happy starting bird2 :) --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=