From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?Micha=B3_Miros=B3aw?= Subject: Re: [PATCH net-next-2.6] veth: remove unneeded ifname code from veth_newlink() Date: Fri, 22 Apr 2011 11:43:10 +0200 Message-ID: References: <20110124154546.GA2689@psychotron.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: netdev@vger.kernel.org, davem@davemloft.net, xemul@openvz.org To: Jiri Pirko Return-path: Received: from mail-qy0-f181.google.com ([209.85.216.181]:55259 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753618Ab1DVJnb convert rfc822-to-8bit (ORCPT ); Fri, 22 Apr 2011 05:43:31 -0400 Received: by qyg14 with SMTP id 14so241852qyg.19 for ; Fri, 22 Apr 2011 02:43:30 -0700 (PDT) In-Reply-To: <20110124154546.GA2689@psychotron.brq.redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: 2011/1/24 Jiri Pirko : > The code is not needed because tb[IFLA_IFNAME] is already > processed in rtnl_newlink(). Remove this redundancy. > > Signed-off-by: Jiri Pirko Hi. This patch broke creation of veth devices. Reverting it fixes the i= ssue. Symptoms: icybox:~# ip link add type veth RTNETLINK answers: File exists icybox:~# ip link add type veth peer veth1 icybox:~# ip addr [...] 56: D: 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: mtu 1500 qdisc noop state DOWN qlen 10= 00 link/ether c2:c2:a2:d5:d5:3a brd ff:ff:ff:ff:ff:ff Best Regards, Micha=C5=82 Miros=C5=82aw