svn commit: r232335 - head/share/man/man9

Sergey Kandaurov pluknet at FreeBSD.org
Thu Mar 1 12:30:58 UTC 2012


Author: pluknet
Date: Thu Mar  1 12:30:57 2012
New Revision: 232335
URL: http://svn.freebsd.org/changeset/base/232335

Log:
  Refine r232333 [1] and put note about ifnet refcount caller responsibility.
  
  Spotted by:	gavin [1]
  MFC after:	1 week

Modified:
  head/share/man/man9/ifnet.9

Modified: head/share/man/man9/ifnet.9
==============================================================================
--- head/share/man/man9/ifnet.9	Thu Mar  1 12:16:00 2012	(r232334)
+++ head/share/man/man9/ifnet.9	Thu Mar  1 12:30:57 2012	(r232335)
@@ -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 ,


More information about the svn-src-all mailing list