summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2013-08-25 10:08:58 +0000
committermarkm <markm@FreeBSD.org>2013-08-25 10:08:58 +0000
commit1b2ebdcd617747f92ccd5a50b8b3ca65954d1778 (patch)
tree8710528286da6fcd62bcbdb7f84fd27449bb80cc /share
parentc7ceb49e1543461734711638502eabded6b8cfcc (diff)
parent23e428c8eff23e17200d0691eadb1996eb0374be (diff)
downloadFreeBSD-src-1b2ebdcd617747f92ccd5a50b8b3ca65954d1778.zip
FreeBSD-src-1b2ebdcd617747f92ccd5a50b8b3ca65954d1778.tar.gz
MFC
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/EVENTHANDLER.92
-rw-r--r--share/man/man9/pfil.94
-rw-r--r--share/man/man9/timeout.92
3 files changed, 5 insertions, 3 deletions
diff --git a/share/man/man9/EVENTHANDLER.9 b/share/man/man9/EVENTHANDLER.9
index c3b646d..d6e7556 100644
--- a/share/man/man9/EVENTHANDLER.9
+++ b/share/man/man9/EVENTHANDLER.9
@@ -202,6 +202,8 @@ Callbacks invoked when a BPF listener attaches to/detaches from network interfac
.It Vt kld_load
Callbacks invoked after a linker file has been loaded.
.It Vt kld_unload
+Callbacks invoked after a linker file has been successfully unloaded.
+.It Vt kld_unload_try
Callbacks invoked before a linker file is about to be unloaded.
These callbacks may be used to return an error and prevent the unload from
proceeding.
diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9
index 89de302..2f28df6 100644
--- a/share/man/man9/pfil.9
+++ b/share/man/man9/pfil.9
@@ -71,6 +71,7 @@ typedef int (*pfil_func_t)(void *arg, struct mbuf **mp, struct ifnet *, int dir,
.Fn pfil_wlock "struct pfil_head *"
.Ft void
.Fn pfil_wunlock "struct pfil_head *"
+.Ed
.Sh DESCRIPTION
The
.Nm
@@ -241,8 +242,7 @@ Fine-grained locking was added in
lock export was added in
.Fx 10.0 .
.Sh BUGS
-The
-.Fn When a
+When a
.Vt pfil_head
is being modified, no traffic is diverted
(to avoid deadlock).
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index 2981333..344ac81 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -256,7 +256,7 @@ after the callout function returns.
.Pp
The
.Fn callout_init_rw
-and the
+and the
.Fn callout_init_rm
fuctions serve the need of using rwlocks and rmlocks in conjunction
with callouts.
OpenPOWER on IntegriCloud