kernel panic in monitor mode (bug?)

Samuel B. sam
Tue Jul 8 12:56:05 PDT 2003


Hi,
i've found a bug in hostap driver, that produces kernel panic when
putting wifi card (z-com xi626) in monitor mode.

I google'd a bit and found
(http://sisyphus.iocaine.com/pipermail/hostap/2003-May/002758.html) that
problem might be somewhere in skb_put() call
in the driver (i don't have direct access to servers, so i couldn't
read the 'real' reason for the kernel panic).
I've tried to fix by just blindly increase allocated buffer (+100 bytes)
in every dev_alloc_skb() calls in file hostap_hw.c file. After using this
'fixed' drivers problem did not apear again...

Unfortunately i couldn't locate where exactly the bug is, since all the
waveboxes i currently have are production servers and restarting them very
often is not a good idea :)

Wavebox config:
   - at least 2 cards Z-Com xi626
   - linux-2.4.20 patched with wolk4.1-4.3 (i don't have vanila kernels so
i couldn't test it there) - wolk includes wireless extension version 16
   - wireless tools v26
   - latest cvs snapshot of hostap drivers

Sam







More information about the Hostap mailing list