* [PATCH] fix devpath for netdev
@ 2004-04-05 22:33 Kay Sievers
2004-04-08 17:51 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2004-04-05 22:33 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 60 bytes --]
Fix the devpath string for unhandled netdev's.
thanks,
Kay
[-- Attachment #2: 01-netdev-db-fix.patch --]
[-- Type: text/plain, Size: 563 bytes --]
===== udev-add.c 1.71 vs edited =====
--- 1.71/udev-add.c Sat Apr 3 01:50:16 2004
+++ edited/udev-add.c Sun Apr 4 19:24:25 2004
@@ -453,6 +453,7 @@
break;
case 'n':
+ strfieldcpy(devpath, path);
if (strcmp(dev.name, dev.kernel_name) != 0) {
retval = rename_net_if(&dev, fake);
if (retval != 0)
@@ -460,7 +461,6 @@
/* netif's are keyed with the configured name, cause
* the original kernel name sleeps with the fishes
*/
- strfieldcpy(devpath, path);
pos = strrchr(devpath, '/');
if (pos != NULL) {
pos[1] = '\0';
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fix devpath for netdev
2004-04-05 22:33 [PATCH] fix devpath for netdev Kay Sievers
@ 2004-04-08 17:51 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-04-08 17:51 UTC (permalink / raw)
To: linux-hotplug
On Tue, Apr 06, 2004 at 12:33:13AM +0200, Kay Sievers wrote:
> Fix the devpath string for unhandled netdev's.
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-08 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-05 22:33 [PATCH] fix devpath for netdev Kay Sievers
2004-04-08 17:51 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).