From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: Greg KH <greg@kroah.com>
Cc: LKML <linux-kernel@vger.kernel.org>, stable@kernel.org
Subject: Re: Linux 2.6.16.7
Date: Wed, 19 Apr 2006 10:22:39 +0600 [thread overview]
Message-ID: <4445BB0F.6010305@ums.usu.ru> (raw)
In-Reply-To: <20060418153951.GC30485@kroah.com>
Greg KH wrote:
> On Tue, Apr 18, 2006 at 12:58:07PM +0600, Alexander E. Patrakov wrote:
>
>> Greg KH wrote:
>>
>>> -EXTRAVERSION = .6
>>> +EXTRAVERSION = .7
>>>
>> Hello, I would like to know if there is a plan to include this in the next
>> -stable update?
>>
>> http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;h=2731570eba5b35a21c311dd587057c39805082f1;hp=dfb62998866ae2e298139164a85ec0757b7f3fc7;hb=9469d458b90bfb9117cbb488cfa645d94c3921b1;f=net/core/dev.c
>>
>
> No one has submitted it to the stable@kernel.org mail address from what
> I can see, so no, it is not in the queue. If you think otherwise,
> please send it.
>
Without that patch, there is a race when registering network interfaces
and renaming it with udev rules, because initially the "address" in
sysfs doesn't contain useful data. See
http://marc.theaimsgroup.com/?t=114460338900002&r=1&w=2
Breaking the recommended way of assigning persistent network interface
names is, IMHO, a bug serious enough to be fixed in -stable.
Signed-off-by: Alexander E. Patrakov <patrakov@ums.usu.ru>
---
--- linux-2.6.16.5/net/core/dev.c
+++ linux-2.6.16.5/net/core/dev.c
@@ -2932,11 +2932,11 @@
switch(dev->reg_state) {
case NETREG_REGISTERING:
+ dev->reg_state = NETREG_REGISTERED;
err = netdev_register_sysfs(dev);
if (err)
printk(KERN_ERR "%s: failed sysfs registration (%d)\n",
dev->name, err);
- dev->reg_state = NETREG_REGISTERED;
break;
case NETREG_UNREGISTERING:
--
Alexander E. Patrakov
next prev parent reply other threads:[~2006-04-19 4:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 4:23 Linux 2.6.16.7 Greg KH
2006-04-18 4:23 ` Greg KH
2006-04-18 6:58 ` Alexander E. Patrakov
2006-04-18 15:39 ` Greg KH
2006-04-18 18:52 ` Nick Warne
2006-04-18 19:06 ` Greg KH
2006-04-18 20:18 ` Nick Warne
2006-04-19 4:22 ` Alexander E. Patrakov [this message]
2006-04-19 4:41 ` David S. Miller
2006-04-20 22:20 ` [stable] " Greg KH
2006-04-21 17:25 ` Hotplug race on name change Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4445BB0F.6010305@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox