From: aisha Date: Sat, 7 Sep 2024 22:41:55 +0000 (+0000) Subject: fix RBT_ENTRY in pf_state and pf_state_key X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=845086ffb80ceac06c78685921c49b7f896ba605;p=openbsd fix RBT_ENTRY in pf_state and pf_state_key ok sashan@ --- diff --git a/sys/net/pfvar_priv.h b/sys/net/pfvar_priv.h index d059357b6af..374ce186738 100644 --- a/sys/net/pfvar_priv.h +++ b/sys/net/pfvar_priv.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar_priv.h,v 1.37 2024/06/21 12:51:29 sashan Exp $ */ +/* $OpenBSD: pfvar_priv.h,v 1.38 2024/09/07 22:41:55 aisha Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -72,7 +72,7 @@ struct pf_state_key { sa_family_t af; u_int8_t proto; - RB_ENTRY(pf_state_key) sk_entry; + RBT_ENTRY(pf_state_key) sk_entry; struct pf_statelisthead sk_states; struct pf_state_key *sk_reverse; struct inpcb *sk_inp; /* [L] */ @@ -109,7 +109,7 @@ struct pf_state { struct pfsync_deferral *sync_defer; /* [S] */ TAILQ_ENTRY(pf_state) entry_list; /* [L] */ SLIST_ENTRY(pf_state) gc_list; /* [g] */ - RB_ENTRY(pf_state) entry_id; /* [P] */ + RBT_ENTRY(pf_state) entry_id; /* [P] */ struct pf_state_peer src; struct pf_state_peer dst; struct pf_rule_slist match_rules; /* [I] */