git: 00ff2b29a9ba - stable/13 - pf: remove unused field from pf_kanchor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Oct 2021 12:32:41 UTC
The branch stable/13 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=00ff2b29a9ba563b6b2f324c0c9378ea286e17df
commit 00ff2b29a9ba563b6b2f324c0c9378ea286e17df
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-10-04 08:58:27 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-10-22 07:34:08 +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")
(cherry picked from commit 76c2e71c4c65a85279505005716aa43101c47bf7)
---
sys/net/pfvar.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index e142976c588e..9fb231e95a2c 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1044,7 +1044,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);