[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070228095234.GB1847@ff.dom.local>
Date: Wed, 28 Feb 2007 10:52:35 +0100
From: Jarek Poplawski <jarkao2@...pl>
To: jt@....hp.com
Cc: Greg Kroah-Hartman <gregkh@...e.de>,
"David S\. Miller" <davem@...emloft.net>,
Linux kernel mailing list <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org
Subject: Re: [PATCH 2.6.20] kobject net ifindex + rename
On Wed, Feb 28, 2007 at 10:34:37AM +0100, Jarek Poplawski wrote:
> On 28-02-2007 02:27, Jean Tourrilhes wrote:
...
> > + /* This function is only used for network interface.
> > + * Some hotplug package track interfaces by their name and
> > + * therefore want to know when the name is changed by the user. */
> > + if(!error)
> > + kobject_uevent_env(&class_dev->kobj, KOBJ_RENAME, envp);
> > +
> > class_device_put(class_dev);
> >
> > + kfree(devname_string);
>
> Maybe I miss something, but it seems kobject_uevent_env copies
> pointers from envp instead of buffers' contents.
And it's enough - sorry.
Jarek P.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists