svn commit: r201351 - head/sys/net

John Baldwin jhb at freebsd.org
Mon Jan 4 19:53:17 UTC 2010


On Friday 01 January 2010 12:35:33 am Max Laier wrote:
> On Thursday 31 December 2009 21:47:54 John Baldwin wrote:
> > On Thursday 31 December 2009 3:44:38 pm John Baldwin wrote:
> > > Author: jhb
> > > Date: Thu Dec 31 20:44:38 2009
> > > New Revision: 201351
> > > URL: http://svn.freebsd.org/changeset/base/201351
> > >
> > > Log:
> > >   Use stricter checking to match possible vlan clones by not allowing
> > > extra garbage characters around or within the tag.
> > 
> > Previously some odd clone requests such as 'em0.102a', 'em0.10a3bc', and
> > 'em0.foo.104' would have succeeded creating interfaces equivalent to
> >  em0.102, em0.103, and em0.104.
> 
> The em0.foo.104 case seems quite useful, though.  Maybe we can keep that 
> /feature/?

Err, I would only find it useful for adding a '104' vlan to a 'em0.foo' 
interface.  Otherwise it is ambiguous.  Suppose you have an em0 and an em0.foo 
interface already, then what should em0.foo.104 do in that case?  I think the 
only way that this auto-cloning makes sense if it is an exact match of 
<ether>.<vlan> as it is documented to be.

-- 
John Baldwin


More information about the svn-src-head mailing list