Downgrade XXX to a Note for fgetsock() and fputsock().

MFC after:	3 days
This commit is contained in:
Robert Watson 2008-10-12 20:03:17 +00:00
parent a6a6167314
commit ac2456bfc3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183808

View file

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