git: 094befb5dbd1 - stable/12 - pf: remove unused field from pf_kanchor

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Fri, 22 Oct 2021 12:32:46 UTC
The branch stable/12 has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=094befb5dbd111209b43d2e77c4d03df1f41bc4e

commit 094befb5dbd111209b43d2e77c4d03df1f41bc4e
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 b6a1f779c073..6f8d79b27133 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);