On Thu, 2014-11-06 at 14:39 +0000, Alexander V. Chernikov wrote:
> Author: melifaro
> Date: Thu Nov  6 14:39:04 2014
> New Revision: 274177
> URL: https://svnweb.freebsd.org/changeset/base/274177
> 
> Log:
>   Finish r274118: remove useless fields from struct domain.
>   
>   Sponsored by:       Yandex LLC
> 
> Modified:
>   head/share/man/man9/domain.9
>   head/sys/net/route.c
>   head/sys/netinet/in_proto.c
>   head/sys/netinet6/in6_proto.c
>   head/sys/sys/domain.h
> 
> Modified: head/share/man/man9/domain.9
> ==============================================================================
> --- head/share/man/man9/domain.9      Thu Nov  6 13:13:47 2014        
> (r274176)
> +++ head/share/man/man9/domain.9      Thu Nov  6 14:39:04 2014        
> (r274177)
> @@ -26,7 +26,7 @@
>  .\"
>  .\" $FreeBSD$
>  .\"
> -.Dd December 7, 2012
> +.Dd November 6, 2014
>  .Dt DOMAIN 9
>  .Os
>  .Sh NAME
> @@ -82,10 +82,9 @@ struct domain {
>               (void **, int);
>       int     (*dom_rtdetach)         /* clean up routing table */
>               (void **, int);
> -     int     dom_rtoffset;           /* an arg to rtattach, in bits */
> -     int     dom_maxrtkey;           /* for routing layer */
>       void    *(*dom_ifattach)(struct ifnet *);
>       void    (*dom_ifdetach)(struct ifnet *, void *);
> +     int     (*dom_ifmtu)(struct ifnet *);
>                                       /* af-dependent data on ifnet */
>  };
>  .Ed
> 

It looks like this breaks VIMAGE builds:

/local/build/staging/freebsd/head/src/sys/net/route.c:299:41: error: no member 
named 'dom_rtoffset' in 'struct domain'
                        dom->dom_rtdetach((void **)rnh, dom->dom_rtoffset);
                                                        ~~~  ^

-- Ian


_______________________________________________
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"

Reply via email to