Date: Sat, 07 May 2022 03:06:33 +0000 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 Message-ID: <bug-263831-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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 <hrs@FreeBSD.org> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263831-227>