FreeBSD/src 94cd429 (r344251)sys/netpfil/ipfw ip_fw_dynamic.c

MFC r344018:
  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
  Sponsored by: Yandex LLC
DeltaFile
+68-61sys/netpfil/ipfw/ip_fw_dynamic.c
+68-611 files

UnifiedSplitRaw