diff options
author | Kristof Provost <kp@FreeBSD.org> | 2022-06-04 10:38:40 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2022-06-18 07:29:18 +0000 |
commit | c5203f7d418db97cc5419a7e1bafa56fdeb26563 (patch) | |
tree | 720256764d45909965ae449a108318670760d6de /tools/regression | |
parent | b8ab9651b1e407a372c81e2fb122a33484139949 (diff) |
pf: Improve route-to handling of pfsync'd states
When a state if pfsync’d to a different host it doesn’t get all of the
expected pointers, including the pointer to the struct pfi_kif / struct
ifnet rt_kif pointer. (I.e. the interface to route out on).
That in turn means that pf_route() ends up dropping the packet.
Use the rule's struct pfi_kif pointer so we can still route out of the
expected interface.
MFC after: 2 weeks
Sponsored by: Orange Business Services
(cherry picked from commit 81ef217ad428c29be669aac2166d194db31817a7)
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions