git: 76c2e71c4c65 - main - pf: remove unused field from pf_kanchor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Oct 2021 19:01:55 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=76c2e71c4c65a85279505005716aa43101c47bf7 commit 76c2e71c4c65a85279505005716aa43101c47bf7 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2021-10-04 08:58:27 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2021-10-07 17:50:22 +0000 pf: remove unused field from pf_kanchor The 'match' field is only used in the userspace version of the struct (pf_anchor). MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/net/pfvar.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index ba5a2d341172..9fa1da8b5c07 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1057,7 +1057,6 @@ struct pf_kanchor { char path[MAXPATHLEN]; struct pf_kruleset ruleset; int refcnt; /* anchor rules */ - int match; /* XXX: used for pfctl black magic */ }; RB_PROTOTYPE(pf_kanchor_global, pf_kanchor, entry_global, pf_anchor_compare); RB_PROTOTYPE(pf_kanchor_node, pf_kanchor, entry_node, pf_kanchor_compare);