aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2023-01-13 03:34:20 +0000
committerKristof Provost <kp@FreeBSD.org>2023-01-13 19:41:25 +0000
commitfd02192c3acaefeb62db11e0c10ab36240b79ba2 (patch)
tree1beff5b495e21889ef5d97f25ce6d845adc060fe /stand
parentbdd60b224fa461a5849f60575afdb458613f4ccd (diff)
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
Diffstat (limited to 'stand')
0 files changed, 0 insertions, 0 deletions