diff options
author | Kristof Provost <kp@FreeBSD.org> | 2021-07-28 09:24:44 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2021-07-28 10:16:33 +0000 |
commit | da8d8b22e69c72f1d001d55b5eff5acbb0265cfc (patch) | |
tree | ccedcd417ee0b0b48a30ddeff35b232cd4d2de5b /sys/netpfil/pf/pf.h | |
parent | d2cbfbc57b20700d6eb04dbfc4d636ce6c92997c (diff) | |
download | src-da8d8b22e69c72f1d001d55b5eff5acbb0265cfc.tar.gz src-da8d8b22e69c72f1d001d55b5eff5acbb0265cfc.zip |
pf: fix ABI breakage
The introduction of synproxy support changed the size of struct
pf_status, which in turn broke the userspace ABI.
Revert the relevant change. More work is needed on the synproxy code to
keep and expose the counters, but in the mean time this restores the
ABI.
PR: 257469
MFC after: 3 days
Sponsored by: Modirum MDPay
Diffstat (limited to 'sys/netpfil/pf/pf.h')
-rw-r--r-- | sys/netpfil/pf/pf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netpfil/pf/pf.h b/sys/netpfil/pf/pf.h index c8bf932af9c3..d8ee43506d99 100644 --- a/sys/netpfil/pf/pf.h +++ b/sys/netpfil/pf/pf.h @@ -160,8 +160,7 @@ enum { PF_ADDR_ADDRMASK, PF_ADDR_NOROUTE, PF_ADDR_DYNIFTL, #define LCNT_SRCCONNRATE 4 /* max-src-conn-rate */ #define LCNT_OVERLOAD_TABLE 5 /* entry added to overload table */ #define LCNT_OVERLOAD_FLUSH 6 /* state entries flushed */ -#define LCNT_SYNCOOKIES_VALID 7 /* syncookies validated */ /* XXX TODO: Ensure no API breakage! */ -#define LCNT_MAX 8 /* total+1 */ +#define LCNT_MAX 7 /* total+1 */ #define LCNT_NAMES { \ "max states per rule", \ |