[Bug 263831] netinet6 in6_proto.c missing IPPROTO_ETHERIP entry at FreeBSD 13.1-RC5
Date: Sat, 07 May 2022 03:06:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263831
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 IPv6
at 13.1-RC5.
===== patch =====
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[] = {
{
.pr_type = SOCK_RAW,
.pr_domain = &inet6domain,
+ .pr_protocol = IPPROTO_ETHERIP,
+ .pr_flags = PR_ATOMIC|PR_ADDR|PR_LASTHDR,
+ .pr_input = encap6_input,
+ .pr_ctloutput = rip6_ctloutput,
+ .pr_usrreqs = &rip6_usrreqs
+},
+{
+ .pr_type = SOCK_RAW,
+ .pr_domain = &inet6domain,
.pr_protocol = IPPROTO_GRE,
.pr_flags = PR_ATOMIC|PR_ADDR|PR_LASTHDR,
.pr_input = encap6_input,
--
You are receiving this mail because:
You are the assignee for the bug.