In pfsync_defer() we must wait to lock sc until we've ensured it's not
NULL.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential D33240
pfsync: NULL check sc before using it kp on Dec 3 2021, 9:48 AM. Authored by Tags None Referenced Files
Details In pfsync_defer() we must wait to lock sc until we've ensured it's not MFC after: 1 week
Diff Detail
Event TimelineComment Actions If it go NULL spontaneously, it can go NULL right after this check before PFSYNC_LOCK(). The patch reduces panic chances significantly, of course. Comment Actions Not so much spontaneously, but it can happen if a user decides to ifconfig pfsync0 destroy. |