Bug fix for aliases inside modprobe.conf

Matt_Domsch at Dell.com Matt_Domsch at Dell.com
Fri May 25 15:18:37 CDT 2007


Good catch, thanks.  I'll apply this. 


--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

-----Original Message-----
From: Herton Ronaldo Krzesinski [mailto:herton at mandriva.com.br] 
Sent: Friday, May 25, 2007 8:02 AM
To: dkms-devel-Lists
Cc: Domsch, Matt
Subject: Bug fix for aliases inside modprobe.conf

I'm sending again this message, because in the first time it had a
different subject and fell into the "Message has a suspicious header" on
the list and is waiting for moderator approval:

----------  Forwarded Message  ----------

Hi, I detected a problem in modprobe.conf aliases support. Basically if
I have other aliases of same type, the alias type isn't being
incremented correctly. 
For example, with something like "alias eth0 foo", and using an dkms
module bar with MODULES_CONF_ALIAS_TYPE[0]="eth", dkms will add another
alias but without incrementing eth, adding another entry "alias eth0
bar". Reading the code I saw that it's failing to increment the alias
type, so I'm attaching the patch that fixes the issue.

-------------------------------------------------------

--
[]'s
Herton



More information about the DKMS-devel mailing list