HomeFreeBSD

pf: ensure we don't destroy an uninitialised lock

Description

pf: ensure we don't destroy an uninitialised lock

The new lock introduced in 5f5e32f1b3 needs to be initialised early so
that it can be safely destroyed if we error out.

Reported-by: syzbot+d76113e9a4ae0c0fcac2@syzkaller.appspotmail.com
MFC after: 3 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jan 16 2022, 7:52 AM
Parents
rG340cebe9902d: etdump: Fix the file name included in the could not open error message
Branches
Unknown
Tags
Unknown