freebsd-skq/sys/netpfil
ae 68fa2ad519 Remove `set' field from state structure and use set from parent rule.
Initially it was introduced because parent rule pointer could be freed,
and rule's information could become inaccessible. In r341471 this was
changed. And now we don't need this information, and also it can become
stale. E.g. rule can be moved from one set to another. This can lead
to parent's set and state's set will not match. In this case it is
possible that static rule will be freed, but dynamic state will not.
This can happen when `ipfw delete set N` command is used to delete
rules, that were moved to another set.
To fix the problem we will use the set number from parent rule.

Obtained from:	Yandex LLC
MFC after:	1 week
Sponsored by:	Yandex LLC
2019-02-11 18:10:55 +00:00
..
ipfw Remove `set' field from state structure and use set from parent rule. 2019-02-11 18:10:55 +00:00
pf Place pf_altq_get_nth_active() under the ALTQ ifdef 2019-02-11 05:39:38 +00:00