ifrename problems

Jouni Malinen jkmaline
Sun Jan 2 18:25:06 PST 2005


On Fri, Dec 31, 2004 at 10:51:29PM -0800, Jouni Malinen wrote:
> On Mon, Dec 27, 2004 at 06:06:04AM -0500, Andres Salomon wrote:
> > "Card inserts normally as wlan0.  ifrename renames the card to e200
> > based
> > on MAC address per /etc/iftab.  Removing the card, with the interface up
> > or down, then produces:
> > 
> > hostap_cs: Driver unloaded
> > Badness in remove_proc_entry at fs/proc/generic.c:688
> >  [<c018c83a>] remove_proc_entry+0x10a/0x150
> 
> This is related to a known issue of what to do with a procfs directory
> with an interface name when the name of that interface is changed.. The
> current version of the driver just ignores the change, but does not save
> the old interface name which seems to trigger this case since the procfs
> entries are not removed. I have consider of changing the driver to
> rename that directory, but haven't yet seen this important enough to
> spent much time on..

I was too lazy to start renaming the entry, but CVS versions (devel &
stable) are at least now deleting the correct directory to avoid this
badness report.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list