[BUG] reproduceable PANIC in recent hostap driver

Jouni Malinen jkmaline at cc.hut.fi
Mon Oct 20 00:01:29 EDT 2003


On Mon, Oct 20, 2003 at 12:17:33AM -0300, JuanJo Ciarlante wrote:

> stupid me |-(  :   ifconfig wlan0 down

I was unable to reproduce this. I tested with Linux 2.4.22, ospfd from
zebra 0.93b (using pretty much the sample configuration file with router
and network entry uncommented), and Host AP driver 0.1.1. Setting wlan0
up or down did not tricker any errors. However, I don't know whether
ospfd really did anything in this case.

Please give more details about your setup. It would be ideal if you
could send me a sample configuration file for ospfd and all the commands
needed to reproduce this (i.e., ifconfig with IP addresses etc.). The
simpler the test, the better..

> interesting... ip monitor all on my 2.4.22 shows the following errors about
> 2~3/second while wlan0 is up (although is doesn't panic as ospfd when
> downing the iface):
> 
>   bash# ip monitor all
>   BUG: nil ifname

Yes, ip does not know how to parse all the netlink messages, but this
should not be related to the panic in any way.

> dunno, but I'll try to strace it ``to death''.
> What I'm sure is that ospfd process hold a raw socket (from lsof) that I
> assume to be netlink .

That should be fine; so did ip monitor without a crash. Have you tested
whether you can trigger similar kernel panic without Host AP driver? Do
you happen to be using Linux bridge code or is this just IP routing (or
is it enough to just run 'ifconfig wlan0 up; ifconfig wlan0 down' to
trigger the panic)?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list