RE: [net-next 1/2] dummy: add device MTU validation check

2017-09-22 Thread 张胜举
> -Original Message- > From: Sabrina Dubroca [mailto:s...@queasysnail.net] > Sent: 2017年9月22日 20:23 > To: Eric Dumazet > Cc: Jarod Wilson ; Zhang Shengju > ; da...@davemloft.net; > will...@google.com; step...@networkplumber.org; > netdev@vger.kernel.org > Subjec

Re: [net-next 1/2] dummy: add device MTU validation check

2017-09-22 Thread Sabrina Dubroca
2017-09-22, 04:05:09 -0700, Eric Dumazet wrote: > On Fri, 2017-09-22 at 10:56 +0200, Sabrina Dubroca wrote: > > 2017-09-21, 08:02:18 -0700, Eric Dumazet wrote: > > > On Thu, 2017-09-21 at 21:32 +0800, Zhang Shengju wrote: > > > > Currently, any mtu value can be assigned when adding a new dummy devi

Re: [net-next 1/2] dummy: add device MTU validation check

2017-09-22 Thread Eric Dumazet
On Fri, 2017-09-22 at 10:56 +0200, Sabrina Dubroca wrote: > 2017-09-21, 08:02:18 -0700, Eric Dumazet wrote: > > On Thu, 2017-09-21 at 21:32 +0800, Zhang Shengju wrote: > > > Currently, any mtu value can be assigned when adding a new dummy device: > > > [~]# ip link add name dummy1 mtu 10 type d

Re: [net-next 1/2] dummy: add device MTU validation check

2017-09-22 Thread Sabrina Dubroca
2017-09-21, 08:02:18 -0700, Eric Dumazet wrote: > On Thu, 2017-09-21 at 21:32 +0800, Zhang Shengju wrote: > > Currently, any mtu value can be assigned when adding a new dummy device: > > [~]# ip link add name dummy1 mtu 10 type dummy > > [~]# ip link show dummy1 > > 15: dummy1: mtu 10 qdis

RE: [net-next 1/2] dummy: add device MTU validation check

2017-09-21 Thread 张胜举
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: 2017年9月21日 23:02 > To: Zhang Shengju > Cc: da...@davemloft.net; will...@google.com; > step...@networkplumber.org; netdev@vger.kernel.org > Subject: Re: [net-next 1/2] dummy: add device

Re: [net-next 1/2] dummy: add device MTU validation check

2017-09-21 Thread Eric Dumazet
On Thu, 2017-09-21 at 21:32 +0800, Zhang Shengju wrote: > Currently, any mtu value can be assigned when adding a new dummy device: > [~]# ip link add name dummy1 mtu 10 type dummy > [~]# ip link show dummy1 > 15: dummy1: mtu 10 qdisc noop state DOWN mode DEFAULT > group default qlen 1000