diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2016-04-17 23:11:56 -0500 |
---|---|---|
committer | Luiz Otavio O Souza <luiz@netgate.com> | 2016-04-17 23:17:13 -0500 |
commit | 971ca0532caaf8713dbf3618e528f392f7cde4a8 (patch) | |
tree | 97c30b264e6660594b0491eb8e99758503218396 /sys | |
parent | 05adf0a13cd1325ba3bf55be2e1a760d9eea3d8b (diff) | |
download | FreeBSD-src-RELENG_2_3_0.zip FreeBSD-src-RELENG_2_3_0.tar.gz |
Fix a bug in divert.RELENG_10.diff.RELENG_2_3_0
Found during the patch reviews for 2.4.
(cherry picked from commit ea9ba1a51b165fe4540662a900bb800f501bdf74)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netpfil/pf/pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index ebda220..280c78a 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6549,7 +6549,7 @@ done: continueprocessing: if (action == PF_PASS && r->divert.port && ip_divert_ptr != NULL && - !PACKET_LOOPED(&pd)) { + !PACKET_LOOPED(pd.pf_mtag)) { if (!r->spare2 || (s && s->packets[dir == PF_OUT] <= r->spare2)) { ipfwtag = m_tag_alloc(MTAG_IPFW_RULE, 0, |