Skip to contentSkip to conversation

Bug in wireless-compat due to patch 'cfg80211: do not replace BSS structs' usage of ksize

DISCUSSION Mathijs de Bruin 1 participant 1 message Apr 19, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

a couple of minutes I tried getting wireless-compat to work on my Gentoo 2.6.28-hardened-r7 kernel. Apparently the cfg80211 module expects there to be a 'ksize' symbol which was not there. To be sure I checked that it was also unavailable in the 2.6.28.9 vanilla kernel.

After some more looking around it turns out that this is the result of a recent patch submitted to the wireless-test tree, in which in fact the 'ksize' symbol IS exported in mm/sl*b.c.

Indeed, if I revert the file net/wireless/scan.c to before commit ad80a7a983e36c6d8f4ae57e4c472deb9cf1391c, I find the wireless-compat modules to work perfectly.

I hope I can help you with this information. Nevertheless, I am no kernel hacker. I am also not on the list, so please direct any further questions to my personal email address.

Kind regards,
Mathijs de Bruin