pf: shrink struct pf_kstate

Makes room for a pointer.

Reviewed by:	kp
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-07-19 14:35:31 +02:00
parent f9aa757d8d
commit 9009d36afd

View File

@ -597,6 +597,10 @@ struct pf_kstate {
* end of the area
*/
u_int8_t state_flags;
u_int8_t timeout;
u_int8_t sync_state; /* PFSYNC_S_x */
u_int8_t sync_updates; /* XXX */
u_int refs;
TAILQ_ENTRY(pf_kstate) sync_list;
TAILQ_ENTRY(pf_kstate) key_list[2];
@ -622,13 +626,6 @@ struct pf_kstate {
u_int32_t pqid;
u_int16_t tag;
u_int8_t log;
u_int8_t state_flags;
u_int8_t timeout;
u_int8_t sync_state; /* PFSYNC_S_x */
/* XXX */
u_int8_t sync_updates;
u_int8_t _tail[3];
};
/*