Refine r232333 [1] and put note about ifnet refcount caller responsibility.

Spotted by:	gavin [1]
MFC after:	1 week
This commit is contained in:
Sergey Kandaurov 2012-03-01 12:30:57 +00:00
parent 1c6fed25bb
commit 8963e1b501
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232335

View File

@ -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 ,