Downgrade XXX to a Note for fgetsock() and fputsock().
MFC after: 3 days
This commit is contained in:
parent
a6a6167314
commit
ac2456bfc3
@ -2150,7 +2150,7 @@ fgetvp_write(struct thread *td, int fd, struct vnode **vpp)
|
||||
* We bump the ref count on the returned socket. XXX Also obtain the SX lock
|
||||
* in the future.
|
||||
*
|
||||
* XXXRW: fgetsock() and fputsock() are deprecated, as consumers should rely
|
||||
* Note: fgetsock() and fputsock() are deprecated, as consumers should rely
|
||||
* on their file descriptor reference to prevent the socket from being free'd
|
||||
* during use.
|
||||
*/
|
||||
@ -2183,7 +2183,7 @@ fgetsock(struct thread *td, int fd, struct socket **spp, u_int *fflagp)
|
||||
* Drop the reference count on the socket and XXX release the SX lock in the
|
||||
* future. The last reference closes the socket.
|
||||
*
|
||||
* XXXRW: fputsock() is deprecated, see comment for fgetsock().
|
||||
* Note: fputsock() is deprecated, see comment for fgetsock().
|
||||
*/
|
||||
void
|
||||
fputsock(struct socket *so)
|
||||
|
Loading…
x
Reference in New Issue
Block a user