freebsd-dev/sys/netpfil/ipfw
Mark Johnston bc6a2267ff ipfw: Update the pfil mbuf pointer in ipfw_check_frame()
ipfw_chk() might call m_pullup() and thus can change the mbuf chain
head.  In this case, the new chain head has to be returned to the pfil
hook caller, otherwise the pfil hook caller is left with a dangling
pointer.

Note that this affects only the link-layer hooks installed when the
net.link.ether.ipfw sysctl is set to 1.

PR:		256439, 254015, 255069, 255104
Fixes:		f355cb3e6
Reviewed by:	ae
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30764
2021-06-16 09:46:56 -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 VNETify dummynet 2021-06-03 09:01:56 +02: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 VNETify dummynet 2021-06-03 09:01:56 +02: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: Fix schedlist and aqmlist locking 2021-06-03 09:02:49 +02:00
dn_heap.c netpfil/ipfw: Make some use of mallocarray(9). 2018-01-11 15:29:29 +00:00
dn_heap.h
dn_sched_fifo.c
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 VNETify dummynet 2021-06-03 09:01:56 +02:00
dn_sched_fq_codel.h VNETify dummynet 2021-06-03 09:01:56 +02:00
dn_sched_fq_pie.c VNETify dummynet 2021-06-03 09:01:56 +02: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 dummynet: Fix schedlist and aqmlist locking 2021-06-03 09:02:49 +02:00
dummynet.txt
ip_dn_glue.c dummynet: Fix schedlist and aqmlist locking 2021-06-03 09:02:49 +02:00
ip_dn_io.c VNETify dummynet 2021-06-03 09:01:56 +02:00
ip_dn_private.h VNETify dummynet 2021-06-03 09:01:56 +02:00
ip_dummynet.c dummynet: free(NULL, M_DUMMYNET); is safe 2021-06-03 09:02:53 +02: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 ipfw: Update the pfil mbuf pointer in ipfw_check_frame() 2021-06-16 09:46:56 -04: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