[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110428.132724.48500963.davem@davemloft.net>
Date: Thu, 28 Apr 2011 13:27:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mirqus@...il.com
Cc: jpirko@...hat.com, netdev@...r.kernel.org, xemul@...nvz.org
Subject: Re: [PATCH net-next-2.6] veth: remove unneeded ifname code from
veth_newlink()
From: Michał Mirosław <mirqus@...il.com>
Date: Fri, 22 Apr 2011 11:49:40 +0200
> W dniu 22 kwietnia 2011 11:43 użytkownik Michał Mirosław
> <mirqus@...il.com> napisał:
>> 2011/1/24 Jiri Pirko <jpirko@...hat.com>:
>>> The code is not needed because tb[IFLA_IFNAME] is already
>>> processed in rtnl_newlink(). Remove this redundancy.
>> Hi. This patch broke creation of veth devices. Reverting it fixes the issue.
>>
>> Symptoms:
>>
>> icybox:~# ip link add type veth
>> RTNETLINK answers: File exists
>> icybox:~# ip link add type veth peer veth1
>> icybox:~# ip addr
>> [...]
>> 56: D: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>> link/ether e6:57:58:52:03:50 brd ff:ff:ff:ff:ff:ff
>> 57: veth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>> link/ether c2:c2:a2:d5:d5:3a brd ff:ff:ff:ff:ff:ff
>
> Hmm. I was too quick. Reverting it fixes only first problem - "ip link
> add type veth" adds new veth pair now, but "ip link add type veth peer
> veth1" gives the same result as above.
Jiri please look into this regression.
Powered by blists - more mailing lists