Robert Watson 46448b5a1b Reformulate bpf_dettachd() to acquire the BIF_LOCK() as well as
BPFD_LOCK() when removing a descriptor from an interface descriptor
list.  Hold both over the operation, and do a better job at
maintaining the invariant that you can't find partially connected
descriptors on an active interface descriptor list.

This appears to close a race that resulted in the kernel performing
a NULL pointer dereference when BPF sessions are detached during
heavy network activity on SMP systems.

RELENG_5 candidate.
2004-09-09 04:11:12 +00:00
..
2004-06-14 08:17:51 +00:00
2004-04-25 09:24:52 +00:00
2004-08-05 08:12:46 +00:00
2004-03-22 16:04:43 +00:00
2004-09-03 01:37:02 +00:00
2004-04-21 15:27:36 +00:00
2004-07-28 06:59:55 +00:00