svn commit: r336692 - head/sys/sys

Gleb Smirnoff glebius at freebsd.org
Wed Aug 8 17:52:16 UTC 2018


On Wed, Jul 25, 2018 at 12:18:21AM +0000, Ed Maste wrote:
E> Author: emaste
E> Date: Wed Jul 25 00:18:21 2018
E> New Revision: 336692
E> URL: https://svnweb.freebsd.org/changeset/base/336692
E> 
E> Log:
E>   sockopt.h: remove stale comment
E>   
E>   Some old compatibility bits were removed in r227503 but this comment
E>   was left behind.
E>   
E>   Reported by:	br, via review D11962
E>   Sponsored by:	The FreeBSD Foundation
E> 
E> Modified:
E>   head/sys/sys/sockopt.h
E> 
E> Modified: head/sys/sys/sockopt.h
E> ==============================================================================
E> --- head/sys/sys/sockopt.h	Wed Jul 25 00:06:18 2018	(r336691)
E> +++ head/sys/sys/sockopt.h	Wed Jul 25 00:18:21 2018	(r336692)
E> @@ -62,7 +62,6 @@ int	sosetopt(struct socket *so, struct sockopt *sopt);
E>  int	sogetopt(struct socket *so, struct sockopt *sopt);
E>  int	sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t minlen);
E>  int	sooptcopyout(struct sockopt *sopt, const void *buf, size_t len);
E> -/* XXX; prepare mbuf for (__FreeBSD__ < 3) routines. */
E>  int	soopt_getm(struct sockopt *sopt, struct mbuf **mp);
E>  int	soopt_mcopyin(struct sockopt *sopt, struct mbuf *m);
E>  int	soopt_mcopyout(struct sockopt *sopt, struct mbuf *m);

This comment was a good mark to note that these three functions
need to go away. But IPv6 still uses them.

-- 
Gleb Smirnoff


More information about the svn-src-head mailing list