mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
65074f6f31
The function `pf_setup_pdesc()` handles ruleset evaluation for non-reassembled packets. Having it called before `pf_mtag` is checked for flags `PF_MTAG_FLAG_ROUTE_TO` and `PF_MTAG_FLAG_DUMMYNET` will cause loops for fragmented packets if reassembly is disabled. Move `pd` zeroing and `pf_mtag` extraction from `pf_setup_pdesc()` to a separate function `pf_init_pdesc()` and change the order of function calls: first call `pf_init_pdesc()`, then check if the currently processed packet has been reinjected from dummynet, finally call `pf_setup_pdesc()`. Add functionality of sending UDP packets to `pft_ping.py` with fragmentation support and fix broken IPv6 reassembly. Reviewed by: kp Differential Revision: https://reviews.freebsd.org/D46880 |
||
---|---|---|
.. | ||
if_pflog.c | ||
if_pfsync.c | ||
in4_cksum.c | ||
pf_altq.h | ||
pf_if.c | ||
pf_ioctl.c | ||
pf_lb.c | ||
pf_mtag.h | ||
pf_nl.c | ||
pf_nl.h | ||
pf_norm.c | ||
pf_nv.c | ||
pf_nv.h | ||
pf_osfp.c | ||
pf_ruleset.c | ||
pf_syncookies.c | ||
pf_table.c | ||
pf.c | ||
pf.h | ||
pflow.c | ||
pfsync_nv.c | ||
pfsync_nv.h |