fix devpath for netdev
PATCH 1/1 fix devpath for netdev
Fix the devpath string for unhandled netdev's.
thanks,
Kay
===== udev-add.c 1.71 vs edited =====
udev-add.c +1 -1
@@ -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' ;
Greg KH
AppliedQuoted 1 line · Kay Sievers
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_id70&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel