diff options
author | glebius <glebius@FreeBSD.org> | 2014-08-25 15:48:28 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2014-08-25 15:48:28 +0000 |
commit | 59e5a700b1e4de81862182bd63cf0ce0e81172d1 (patch) | |
tree | 01705a4d453af62ecf76c18006a43d91b86dfd27 | |
parent | 3722b178a339818ea3e790b473390175f90cd06a (diff) | |
download | FreeBSD-src-59e5a700b1e4de81862182bd63cf0ce0e81172d1.zip FreeBSD-src-59e5a700b1e4de81862182bd63cf0ce0e81172d1.tar.gz |
Merge 270010 from head:
Fix synproxy with IPv6. pf_test6() was missing a check for M_SKIP_FIREWALL.
PR: 127920
Submitted by: Kajetan Staszkiewicz <vegeta tuxpowered.net>
Sponsored by: InnoGames GmbH
-rw-r--r-- | sys/netpfil/pf/pf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c index 3a087df..a3442ea 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6069,6 +6069,9 @@ pf_test6(int dir, struct ifnet *ifp, struct mbuf **m0, struct inpcb *inp) if (kif->pfik_flags & PFI_IFLAG_SKIP) return (PF_PASS); + if (m->m_flags & M_SKIP_FIREWALL) + return (PF_PASS); + PF_RULES_RLOCK(); /* We do IP header normalization and packet reassembly here */ |