On 02/20/2013 02:15 AM, Bastian Bittorf wrote: > * Larry Finger [20.02.2013 08:32]: >> On 02/20/2013 12:26 AM, Gábor Stefanik wrote: >>> >>> Is this an issue that vendor drivers are also vulnerable to? If it is >>> a firmware issue, I would certainly think so. >> >> I also think so, at least if they are using the firmware version that >> Bastian is using. His logs don't have that info in them, but I >> certainly saw the problem on my BCM4312 using firmware 508.154 from >> 2009. > > Another test this morning with heavy downloading (but tcp only) > show slot usage auf max 204/256. we are using firmware > > "version 666.2 (2011-02-23 01:15:07)" which is OpenWrt's default > for b43. see here the full logs, including minstrel output and dmesg: > > http://intercity-vpn.de/files/openwrt/b43test2.dmesg.txt > > if a slot needs ~2500 bytes, so 256 slot are only 640kb which seems > ok to me. ofcourse it raises the memory consumption by 500kb, but now > the router is useful 8-) Thanks for the testing and the report. The skb associated with each slot is allocated at 2390 bytes, but I think each allocation is a minimum of one page. In any case, using extra memory is much better than having the device freeze without explanation. I do not think there is any newer firmware for the 4318 than the version you are using. I have reworked the patch that resets on overflow, and added the section for 64-bit DMA. I still need to test that part, but I am sending two patches to you for testing on the WRT54G. The first renames a couple of register names to make 32- and 64-bit naming to only differ in the number. The second is the reset code patch. Larry