K 10 svn:author V 2 kp K 8 svn:date V 27 2023-01-28T01:40:58.225962Z K 7 svn:log V 573 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 (cherry picked from commit fd02192c3acaefeb62db11e0c10ab36240b79ba2) Git Hash: 76e1ec4e10fa9a85bb8090cdf61e54c7a19508ee Git Author: kp@FreeBSD.org END