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 , _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"