diff options
author | mbuhl <mbuhl@cvs.openbsd.org> | 2022-06-26 11:37:09 +0000 |
---|---|---|
committer | mbuhl <mbuhl@cvs.openbsd.org> | 2022-06-26 11:37:09 +0000 |
commit | 7bf02fd85a84bca523451f891ba641bce6f3b817 (patch) | |
tree | a1bb280ba6fbc04d204d492bd74d05e2164b8e97 /sys/net/pfvar.h | |
parent | 80ecf3ca7477e3097f1e0a1f9ab1ce8513e81fb1 (diff) |
Allow waiting during ktable allocation in pf_ioctl.
OK bluhm
Reported-by: syzbot+50ea4f33ed5dd9264918@syzkaller.appspotmail.com
Reported-by: syzbot+df65f8b7ee8c0089e885@syzkaller.appspotmail.com
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 93394e6da5c..67c27abd4b3 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.507 2022/04/29 09:55:43 mbuhl Exp $ */ +/* $OpenBSD: pfvar.h,v 1.508 2022/06/26 11:37:08 mbuhl Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1709,7 +1709,7 @@ extern struct ifnet *sync_ifp; extern struct pf_rule pf_default_rule; extern int pf_tbladdr_setup(struct pf_ruleset *, - struct pf_addr_wrap *); + struct pf_addr_wrap *, int); extern void pf_tbladdr_remove(struct pf_addr_wrap *); extern void pf_tbladdr_copyout(struct pf_addr_wrap *); extern void pf_calc_skip_steps(struct pf_rulequeue *); @@ -1875,7 +1875,7 @@ void pfi_group_addmember(const char *); void pfi_group_delmember(const char *); int pfi_match_addr(struct pfi_dynaddr *, struct pf_addr *, sa_family_t); -int pfi_dynaddr_setup(struct pf_addr_wrap *, sa_family_t); +int pfi_dynaddr_setup(struct pf_addr_wrap *, sa_family_t, int); void pfi_dynaddr_remove(struct pf_addr_wrap *); void pfi_dynaddr_copyout(struct pf_addr_wrap *); void pfi_update_status(const char *, struct pf_status *); |