Remove net lock from DIOCOSFP{FLUSH,ADD,GET} aka. OS fingerprinting
authorkn <kn@openbsd.org>
Sun, 7 May 2023 12:45:21 +0000 (12:45 +0000)
committerkn <kn@openbsd.org>
Sun, 7 May 2023 12:45:21 +0000 (12:45 +0000)
commit781ff29ab912773fcf9b1860b484e3c5fcd24a04
tree0c774f6d9f927fe2beb046354d01104b36df830a
parent3c75eb12e4035abd299049e9903de6284a58c12d
Remove net lock from DIOCOSFP{FLUSH,ADD,GET} aka. OS fingerprinting

pf_osfp.c contains all the locking for these three ioctls, everything is
protected by the pf lock;  assert/document it and inline acess to the global
list to eliminate useless function variables.

OK bluhm sashan
sys/net/pf_osfp.c