summaryrefslogtreecommitdiffstats
path: root/share/man/man9/ifnet.9
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2012-03-01 12:30:57 +0000
committerpluknet <pluknet@FreeBSD.org>2012-03-01 12:30:57 +0000
commit103c25dec9640d24c172879d3deabef6d3cb05f3 (patch)
tree029bc4b76937e42bc9d1d013948c7d38858e4995 /share/man/man9/ifnet.9
parent9a76a422701f488fd5afbbf3c9666511eb4e4a3a (diff)
downloadFreeBSD-src-103c25dec9640d24c172879d3deabef6d3cb05f3.zip
FreeBSD-src-103c25dec9640d24c172879d3deabef6d3cb05f3.tar.gz
Refine r232333 [1] and put note about ifnet refcount caller responsibility.
Spotted by: gavin [1] MFC after: 1 week
Diffstat (limited to 'share/man/man9/ifnet.9')
-rw-r--r--share/man/man9/ifnet.95
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 8643ba8..ac98efa 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -1159,8 +1159,11 @@ Return a reference-counted (via
.Vt ifnet
pointer for the interface named
.Fa name .
-This is a preferred function over
+This is the preferred function over
.Fn ifunit .
+The caller is responsible for releasing the reference with
+.Fn if_rele
+when it is finished with the ifnet.
.It Fn ifioctl
Process the ioctl request
.Fa cmd ,
OpenPOWER on IntegriCloud