On Sat, Nov 08, 2014 at 03:06:20PM +0000, Bjoern A. Zeeb wrote:
B> > Modified: head/sys/net/if.c
B> > 
==============================================================================
B> > --- head/sys/net/if.c      Sat Nov  8 06:43:33 2014        (r274273)
B> > +++ head/sys/net/if.c      Sat Nov  8 07:23:01 2014        (r274274)
B> > @@ -265,13 +265,12 @@ ifnet_byindex_ref(u_short idx)
B> >  * Allocate an ifindex array entry; return 0 on success or an error on
B> >  * failure.
B> >  */
B> > -static int
B> > -ifindex_alloc_locked(u_short *idxp)
B> > +static u_short
B> 
B> That feels like going backwards;  we should really make sure  we can support 
ifindexes >> 64k

This isn't backwards, since if_index was u_short before the commit.

I will take into account your wish and see if we can enlarge if_index.

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to