git: 7e0195e24896 - main - pf: add unhandled_af() to pf_socket_lookup()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Apr 2025 09:51:43 UTC
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;