Date: Wed, 9 Apr 2025 09:51:43 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 7e0195e24896 - main - pf: add unhandled_af() to pf_socket_lookup() Message-ID: <202504090951.5399ph2H090968@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=7e0195e24896937f50d203080155fc7c5871e663 commit 7e0195e24896937f50d203080155fc7c5871e663 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-04-08 16:27:51 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-04-09 08:18:21 +0000 pf: add unhandled_af() to pf_socket_lookup() Obtained from: OpenBSD, jsg <jsg@openbsd.org>, 443353dace Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netpfil/pf/pf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 3d22b6750c34..ccf679813f35 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -4958,6 +4958,8 @@ pf_socket_lookup(struct pf_pdesc *pd) } break; #endif /* INET6 */ + default: + unhandled_af(pd->af); } INP_RLOCK_ASSERT(inp); pd->lookup.uid = inp->inp_cred->cr_uid;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504090951.5399ph2H090968>