[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 3 Mar 2015 20:53:58 +0200
From: Vadim Kochan <vadim4j@...il.com>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: Vadim Kochan <vadim4j@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] ip tap: Simplify add 'tap' device w/o mode
On Sun, Mar 01, 2015 at 02:07:15PM -0800, Stephen Hemminger wrote:
> On Sat, 28 Feb 2015 11:59:46 +0200
> Vadim Kochan <vadim4j@...il.com> wrote:
>
> > From: Vadim Kochan <vadim4j@...il.com>
> >
> > It allows add 'tap' device w/o specify mode:
> >
> > # ip tap add tap0
> >
> > instead of return error message.
> >
> > Signed-off-by: Vadim Kochan <vadim4j@...il.com>
>
> No. mode should not depend on device name.
>
> Also, I noticed that reading kernel code it is possible to
> create a broken tun device if type is not set.
>
Is it still bad if it checks for 'tap' in 'ip tap' ?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists