freebsd-dev/sys/netpfil
Kristof Provost fd02192c3a pf: fix panic on deferred packets
The pfsync_defer_tmo() callout needs to set the correct vnet before it
can transmit packets. It used the rcvif in the mbuf to get this vnet,
but that doesn't work for locally originated traffic. In that case the
rcvif pointer is NULL, and the dereference leads to a panic.

Instead use the sc_sync_if, which is always set (if pfsync is enabled,
at least).

PR:		268246
MFC after:	2 weeks
2023-01-13 20:41:25 +01:00
..
ipfilter/netinet ipfilter: Fix mismatch in array bounds. 2022-12-07 12:32:38 -08:00
ipfw ipfw: Constify name argument for hash lookup 2022-12-20 11:18:49 -05:00
pf pf: fix panic on deferred packets 2023-01-13 20:41:25 +01:00