freebsd-dev/sys/netpfil/ipfw
Mark Johnston 652908599b Add required checks for unmapped mbufs in ipdivert and ipfw
Also add an M_ASSERTMAPPED() macro to verify that all mbufs in the chain
are mapped.  Use it in ipfw_nat, which operates on a chain returned by
m_megapullup().

PR:		255164
Reviewed by:	ae, gallatin
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29838
2021-04-21 15:47:05 -04:00
..
nat64 Add required checks for unmapped mbufs in ipdivert and ipfw 2021-04-21 15:47:05 -04:00
nptv6 net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
pmod net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
test net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_aqm_codel.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_aqm_codel.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_aqm_pie.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_aqm_pie.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_aqm.h dummynet: Move packet counters into dn_cfg 2021-03-23 18:01:58 +01:00
dn_heap.c netpfil/ipfw: Make some use of mallocarray(9). 2018-01-11 15:29:29 +00:00
dn_heap.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
dn_sched_fifo.c sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
dn_sched_fq_codel_helper.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched_fq_codel.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched_fq_codel.h dummynet: Move packet counters into dn_cfg 2021-03-23 18:01:58 +01:00
dn_sched_fq_pie.c dummynet: Move packet counters into dn_cfg 2021-03-23 18:01:58 +01:00
dn_sched_prio.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched_qfq.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched_rr.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched_wf2q.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
dn_sched.h sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
dummynet.txt
ip_dn_glue.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_dn_io.c dummynet: Move timekeeping information into dn_cfg 2021-03-23 18:01:58 +01:00
ip_dn_private.h dummynet: Move timekeeping information into dn_cfg 2021-03-23 18:01:58 +01:00
ip_dummynet.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw2.c ipfw: add IPv6 support for sockarg opcode. 2021-03-02 12:45:59 +03:00
ip_fw_bpf.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_dynamic.c ipfw: do not use sleepable malloc in callout context. 2021-04-16 10:22:44 +03:00
ip_fw_eaction.c Fix rule truncation on external action module unloading. 2019-08-15 13:44:33 +00:00
ip_fw_iface.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_log.c PFIL_MEMPTR for ipfw link level hook 2019-03-14 22:52:16 +00:00
ip_fw_nat.c Add required checks for unmapped mbufs in ipdivert and ipfw 2021-04-21 15:47:05 -04:00
ip_fw_pfil.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
ip_fw_private.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_sockopt.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_table_algo.c Fix LINT-NOINET6 build after r368571. 2020-12-14 22:54:32 +00:00
ip_fw_table_value.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_table.c net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00
ip_fw_table.h net: clean up empty lines in .c and .h files 2020-09-01 21:19:14 +00:00