OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Daniel Hartmeier (dhartmeicvs.openbsd.org)
Date: Wed Dec 01 2004 - 17:22:44 CST


CVSROOT: /cvs
Module name: src
Changes by: dhartmeicvs.openbsd.org 2004/12/01 16:22:44

Modified files:
        sys/net : pf_ioctl.c

Log message:
replace finer-grained spl locking in pfioctl() with a single broad lock
around the entire body. this resolves the (misleading) panics in
pf_tag_packet() during heavy ioctl operations (like when using authpf)
that occur because softclock can interrupt ioctl on i386 since SMP.
patch from camield. ok mcbride, henning and (presumably ;) bob