[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4666D063.3060402@trash.net>
Date: Wed, 06 Jun 2007 17:18:59 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Pavel Emelianov <xemul@...nvz.org>
CC: "Eric W. Biederman" <ebiederm@...ssion.com>,
Linux Netdev List <netdev@...r.kernel.org>,
Linux Containers <containers@...ts.osdl.org>,
Kirill Korotaev <dev@...nvz.org>
Subject: Re: [PATCH] Module for ip utility to support veth device
Pavel Emelianov wrote:
> diff --git a/ip/iplink.c b/ip/iplink.c
> index 5170419..6975990 100644
> --- a/ip/iplink.c
> +++ b/ip/iplink.c
> @@ -287,7 +287,7 @@ static int iplink_modify(int cmd, unsign
> strlen(type));
>
> lu = get_link_type(type);
> - if (lu) {
> + if (lu && argc) {
> struct rtattr * data = NLMSG_TAIL(&req.n);
> addattr_l(&req.n, sizeof(req), IFLA_INFO_DATA, NULL, 0);
I've folded this part into my iproute patch, thanks.
-
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