From 845086ffb80ceac06c78685921c49b7f896ba605 Mon Sep 17 00:00:00 2001 From: aisha Date: Sat, 7 Sep 2024 22:41:55 +0000 Subject: [PATCH] fix RBT_ENTRY in pf_state and pf_state_key ok sashan@ --- sys/net/pfvar_priv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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] */ -- 2.20.1