Date: Tue, 18 Oct 2022 18:11:26 +0900 From: Koichiro Iwao <meta@FreeBSD.org> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-net@freebsd.org Subject: Re: Help wanted with MFC 256820 Message-ID: <20221018091126.ev65nuhiyic5hwjw@icepick.vmeta.jp> In-Reply-To: <af2b746d-fa30-6edb-545b-f1178a0cfd12@selasky.org> References: <558b6dd1a98fdb81df0443202695172c@freebsd.org> <e8426058-32f8-5f27-ba94-8ed2badf7fb5@selasky.org> <20221016235900.juemalq6mal7oiua@icepick.vmeta.jp> <af2b746d-fa30-6edb-545b-f1178a0cfd12@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--rffehsrr2dr4gyzo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Mon, Oct 17, 2022 at 09:16:12AM +0200, Hans Petter Selasky wrote: > Send me the "git show" output of the commit before you push it, and I'll > review it for you. > > --HPS Here it is. See attached file. -- meta <meta@FreeBSD.org> --rffehsrr2dr4gyzo Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="patch.diff" commit d91bc94ef5f1514213cb8d507beb3174dea42a73 Author: Hiroki Sato <hrs@FreeBSD.org> Date: Fri Aug 27 17:14:35 2021 +0900 inet6(4): add a missing IPPROTO_ETHERIP entry bridge(4) + gif(4) did not work when the outer protocol was IPv6. Submitted by: Masahiro Kozuka PR: 256820 Approved by: to-be-filled (cherry picked from commit 9823a0c0acf4fc277a71336ea737e1de7c65742f) diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 21b7d660676f..fb4f76dd698c 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -291,6 +291,15 @@ struct protosw inet6sw[] = { .pr_ctloutput = rip6_ctloutput, .pr_usrreqs = &rip6_usrreqs }, +{ + .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, --rffehsrr2dr4gyzo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221018091126.ev65nuhiyic5hwjw>