aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-09-09 04:11:12 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-09-09 04:11:12 +0000
commit46448b5a1bd84793e1a44c6805a40d527cc2b97b (patch)
treebf1639e5d58833d329b96282b40988eb95568cb7 /sbin
parent9f0cd8478fc3dc5fb24ab8539374676deb22e3f2 (diff)
downloadsrc-46448b5a1bd84793e1a44c6805a40d527cc2b97b.tar.gz
src-46448b5a1bd84793e1a44c6805a40d527cc2b97b.zip
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.
Notes
Notes: svn path=/head/; revision=134970
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions