[Bug 236292] sbin/ipfw doesn't allow returning packets with limit-source address

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 7 04:41:07 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236292

--- Comment #7 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ae
Date: Thu Mar  7 04:40:45 UTC 2019
New revision: 344870
URL: https://svnweb.freebsd.org/changeset/base/344870

Log:
  Fix the problem with O_LIMIT states introduced in r344018.

  dyn_install_state() uses `rule` pointer when it creates state.
  For O_LIMIT states this pointer actually is not struct ip_fw,
  it is pointer to O_LIMIT_PARENT state, that keeps actual pointer
  to ip_fw parent rule. Thus we need to cache rule id and number
  before calling dyn_get_parent_state(), so we can use them later
  when the `rule` pointer is overrided.

  PR:           236292
  MFC after:    3 days

Changes:
  head/sys/netpfil/ipfw/ip_fw_dynamic.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ipfw mailing list