mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
pf: fix SCTP SDT probe
We want the return value of pf_test_rule(), i.e. the result of the
evaluation of the new state, not the result of the evaluation of the
original packet/state.
MFC after: 1 week
Sponsored by: Orange Business Services
(cherry picked from commit b00dbe851c)
This commit is contained in:
parent
e06428cfca
commit
ee0b727637
1 changed files with 1 additions and 1 deletions
|
|
@ -5943,7 +5943,7 @@ pf_sctp_multihome_delayed(struct pf_pdesc *pd, int off, struct pfi_kkif *kif,
|
|||
ret = pf_test_rule(&r, &sm, kif,
|
||||
j->m, off, &j->pd, &ra, &rs, NULL);
|
||||
PF_RULES_RUNLOCK();
|
||||
SDT_PROBE4(pf, sctp, multihome, test, kif, r, j->m, action);
|
||||
SDT_PROBE4(pf, sctp, multihome, test, kif, r, j->m, ret);
|
||||
if (sm) {
|
||||
/* Inherit v_tag values. */
|
||||
sm->src.scrub->pfss_v_tag = s->src.scrub->pfss_flags;
|
||||
|
|
|
|||
Loading…
Reference in a new issue