* [regression] net: call dev_alloc_name from register_netdevice
@ 2011-06-08 7:41 Alexey Fisher
2011-06-08 7:46 ` Américo Wang
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Fisher @ 2011-06-08 7:41 UTC (permalink / raw)
To: kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Jiri Pirko, David S. Miller
Hallo,
i have small regression after patch:
commit 1c5cae815d19ffe02bdfda1260949ef2b1806171
Author: Jiri Pirko <jpirko-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Sat Apr 30 01:21:32 2011 +0000
net: call dev_alloc_name from register_netdevice
....
device names are broken.
Here is dmesg before patch:
[ 59.181464] wlan0: authenticate with 00:1c:10:xx:xx:xx (try 1)
[ 59.185954] wlan0: authenticated
[ 59.186027] wlan0: associate with 00:1c:10:xx:xx:xx (try 1)
[ 59.188679] wlan0: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
status=0 aid=2)
And dmesg after patch:
[ 76.046587] wlan%d: authenticate with 00:1c:10:xx:xx:xx (try 1)
[ 76.048600] wlan%d: authenticated
[ 76.048647] wlan%d: associate with 00:1c:10:xx:xx:xx (try 1)
[ 76.051281] wlan%d: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
status=0 aid=2)
[ 76.051288] wlan%d: associated
--
Regards,
Alexey
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [regression] net: call dev_alloc_name from register_netdevice
2011-06-08 7:41 [regression] net: call dev_alloc_name from register_netdevice Alexey Fisher
@ 2011-06-08 7:46 ` Américo Wang
0 siblings, 0 replies; 2+ messages in thread
From: Américo Wang @ 2011-06-08 7:46 UTC (permalink / raw)
To: Alexey Fisher
Cc: kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jiri Pirko, David S. Miller
On Wed, Jun 8, 2011 at 3:41 PM, Alexey Fisher
<bug-track-M18mAb7Tlt0yCq4wW13eYl6hYfS7NtTn@public.gmane.org> wrote:
> Hallo,
>
> i have small regression after patch:
> commit 1c5cae815d19ffe02bdfda1260949ef2b1806171
> Author: Jiri Pirko <jpirko-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Date: Sat Apr 30 01:21:32 2011 +0000
>
> net: call dev_alloc_name from register_netdevice
> ....
>
> device names are broken.
> Here is dmesg before patch:
> [ 59.181464] wlan0: authenticate with 00:1c:10:xx:xx:xx (try 1)
> [ 59.185954] wlan0: authenticated
> [ 59.186027] wlan0: associate with 00:1c:10:xx:xx:xx (try 1)
> [ 59.188679] wlan0: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
> status=0 aid=2)
>
> And dmesg after patch:
> [ 76.046587] wlan%d: authenticate with 00:1c:10:xx:xx:xx (try 1)
> [ 76.048600] wlan%d: authenticated
> [ 76.048647] wlan%d: associate with 00:1c:10:xx:xx:xx (try 1)
> [ 76.051281] wlan%d: RX AssocResp from 00:1c:10:xx:xx:xx (capab=0x11
> status=0 aid=2)
> [ 76.051288] wlan%d: associated
It is already fixed in wireless-testing
commit 59e7e7078d6c2c6294caf454c6e3695f9d3e46a2
Author: Thadeu Lima de Souza Cascardo <cascardo-DmMZpsCg3uxeGPcbtGPokg@public.gmane.org>
Date: Thu Jun 2 17:28:37 2011 -0300
mac80211: call dev_alloc_name before copying name to sdata
This partially reverts 1c5cae815d19ffe02bdfda1260949ef2b1806171, because
the netdev name is copied into sdata->name, which is used for debugging
messages, for example. Otherwise, we get messages like this:
wlan%d: authenticated
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Jiri Pirko <jpirko-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: David S. Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: Johannes Berg <johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
Cc: "John W. Linville" <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Signed-off-by: John W. Linville <linville-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>
Thanks for reporting it!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-08 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 7:41 [regression] net: call dev_alloc_name from register_netdevice Alexey Fisher
2011-06-08 7:46 ` Américo Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox