Re: [PATCH] rt2x00: rt2800: fix zeroing skb structure
From: Justin Piszcz <hidden>
Date: 2011-07-30 17:10:32
Also in:
lkml
On Sat, 30 Jul 2011, Justin Piszcz wrote:
On Sat, 30 Jul 2011, Andreas Hartmann wrote:quoted
Hi Justin, if you want to test, if the module works stable, run this script for one or two hours. It will stress the driver and the hardware. If it doesn't crash and if the throughput is stable, you can hope, that the driver is ok for daily work. #!/bin/sh dest="server" # set the servername while true ; do netperf -t TCP_MAERTS -H $dest netperf -t TCP_STREAM -H $dest netperf -t TCP_SENDFILE -H $dest done Start the script on the client. On the server start netserver. You get netperf from http://www.netperf.org/netperf/ AndreasHello Andreas, Thanks for the suggestion; however, it is crashing repeatedly after about 5-10 minutes, so it is not needed yet. Here you go, crash 2: http://home.comcast.net/~jpiszcz/20110730/2630-rt2800usb-crash2p1.jpg http://home.comcast.net/~jpiszcz/20110730/2630-rt2800usb-crash2p2.jpg Justin.
(This is with the patch provided earlier)
atom:/usr/src/linux# cd drivers/net/wireless/rt2x00/
atom:/usr/src/linux/drivers/net/wireless/rt2x00# grep 'memset(skb_push(entry->skb, TXWI_DESC_SIZE), 0, TXWI_DESC_SIZE)' rt2800lib.c
memset(skb_push(entry->skb, TXWI_DESC_SIZE), 0, TXWI_DESC_SIZE);
atom:/usr/src/linux/drivers/net/wireless/rt2x00# cat /usr/src/linux/.version
2
atom:/usr/src/linux/drivers/net/wireless/rt2x00# uname -a
Linux atom 3.0.0 #2 SMP Sat Jul 30 08:34:18 EDT 2011 x86_64 GNU/Linux
atom:/usr/src/linux/drivers/net/wireless/rt2x00#
Justin.