diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2012-05-21 22:13:48 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2012-05-21 22:13:48 +0000 |
commit | 6c74ff0ea6eb5eb3a21d05486740c9488721a8b5 (patch) | |
tree | 53dbc7a0d046e471d78c6004e39c002c3b1853de /share/man/man9/EVENTHANDLER.9 | |
parent | fed7420ced24c61fe2dea36ba7f52766192bb51a (diff) |
Fix panic on attaching to non-existent interface (introduced by r233937, pointed by hrs@)
Fix panic on tcpdump being attached to interface being removed (introduced by r233937, pointed by hrs@ and adrian@)
Protect most of bpf_setf() by BPF global lock
Add several forgotten assertions (thanks to adrian@)
Document current locking model inside bpf.c
Document EVENTHANDLER(9) usage inside BPF.
Approved by: kib(mentor)
Tested by: gnn
MFC in: 4 weeks
Notes
Notes:
svn path=/head/; revision=235744
Diffstat (limited to 'share/man/man9/EVENTHANDLER.9')
-rw-r--r-- | share/man/man9/EVENTHANDLER.9 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/man/man9/EVENTHANDLER.9 b/share/man/man9/EVENTHANDLER.9 index ed83018d763c..4a1666087c9b 100644 --- a/share/man/man9/EVENTHANDLER.9 +++ b/share/man/man9/EVENTHANDLER.9 @@ -23,7 +23,7 @@ .\" SUCH DAMAGE. .\" $FreeBSD$ .\" -.Dd January 7, 2005 +.Dd May 11, 2012 .Dt EVENTHANDLER 9 .Os .Sh NAME @@ -197,6 +197,8 @@ Callbacks invoked when an interface is cloned. Callbacks invoked when a new network interface appears. .It Vt ifnet_departure_event Callbacks invoked when a network interface is taken down. +.It Vt bpf_track +Callbacks invoked when a BPF listener attaches to/detaches from network interface. .It Vt power_profile_change Callbacks invoked when the power profile of the system changes. .It Vt process_exec |