From nobody Sat May 07 03:06:33 2022 X-Original-To: bugs@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 6274A1AC8961 for ; Sat, 7 May 2022 03:06:34 +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 4KwC561SPJz4rqL for ; Sat, 7 May 2022 03:06:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 1230126F for ; Sat, 7 May 2022 03:06:34 +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 24736XGD086421 for ; Sat, 7 May 2022 03:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24736Xq5086420 for bugs@FreeBSD.org; Sat, 7 May 2022 03:06:33 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: bugs@FreeBSD.org Subject: [Bug 263831] netinet6 in6_proto.c missing IPPROTO_ETHERIP entry at FreeBSD 13.1-RC5 Date: Sat, 07 May 2022 03:06:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: seirios@seirios.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651892794; 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; bh=PCGAh7H+cXuiK8Ngy4Frzu7RO5u5XL1GFoiExP2rmJs=; b=ujzARXPTvxJLt95+n6PPrvv6SZooC5yR4Gmu05PUmUgcpNVN4cmzqz3ylkC94VR3Igo6FC 9wp2EpWzUcSMg38OwvOSDQxXzaTd/pkM9K8WPPSAeMm4h9Q/i+ln+2FHHQLvUfTwjKv6di /e7wfKGsRgbpAAK4pvWUpqWv4PNfw83LDA8tdsAlzQyVGzfoF7uiFpBOimjwZxvvnUzMM9 AwN0lE58g09Ib8jeIlIWQXRZqptgVpLOsdr4kUpvGVdjNAhISA2/ipuNG3InTj1lfsVEoA lfN0eKO34Myn8ohdY/GT/8Reu5a06tZ8Ulb396OTxIh9a4FYMFrs5q5i7Hy1Pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651892794; a=rsa-sha256; cv=none; b=NwHRYr/wZZZhMoqTjLd2iMQD+7eNpMXWlXvznLNlSokUMOZXR6y1RL1d5AaAcJyb95JL7I u8Vn/zBhClQIvhXu6pSE8edvs4YZ7jMsr25IkjW5mzyHRhso+Sbvouc5cAUSf+gmk3rmAu C1K1PosNwDnyn0POtmkfZSaVDVox/bN6AcCXLZnuOQO2+RZQz9S6cmY63V9L8TEbUTCo9h Iq5WnMRMnmW5MKq9HXhX4JziPf+tXL5TTLraEKmlllr9NdqHlP+G3Vhz+gwg7nwGWR18Hs Dn/+DsdC/6phu10veoDzY8nM6hGYuTHcRrUi5d3bRbJxdp931yR7Mm9jqvkugw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263831 Bug ID: 263831 Summary: netinet6 in6_proto.c missing IPPROTO_ETHERIP entry at FreeBSD 13.1-RC5 Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: seirios@seirios.org FreeBSD current has IPPROTO_ETHERIP entry, but 13.1 and other older release don't have it. This issue is fixed at commit 9823a0c0acf4fc277a71336ea737e1de7c65742f by Hiroki Sato at current. Please add this entry to 13.1-RELEASE because gif+bridge does not work on I= Pv6 at 13.1-RC5. =3D=3D=3D=3D=3D patch =3D=3D=3D=3D=3D diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 56ef41a27e88..909564b8c7e5 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -296,6 +296,15 @@ struct protosw inet6sw[] =3D { { .pr_type =3D SOCK_RAW, .pr_domain =3D &inet6domain, + .pr_protocol =3D IPPROTO_ETHERIP, + .pr_flags =3D PR_ATOMIC|PR_ADDR|PR_LASTHDR, + .pr_input =3D encap6_input, + .pr_ctloutput =3D rip6_ctloutput, + .pr_usrreqs =3D &rip6_usrreqs +}, +{ + .pr_type =3D SOCK_RAW, + .pr_domain =3D &inet6domain, .pr_protocol =3D IPPROTO_GRE, .pr_flags =3D PR_ATOMIC|PR_ADDR|PR_LASTHDR, .pr_input =3D encap6_input, --=20 You are receiving this mail because: You are the assignee for the bug.=