summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x.h
diff options
context:
space:
mode:
authorAdam Baker <linux@baker-net.org.uk>2008-02-03 15:46:24 +0100
committerJohn W. Linville <linville@tuxdriver.com>2008-02-29 15:19:27 -0500
commitd7bafff3f94efd850f8744d683e63812ff8d55c5 (patch)
treeba2276597e2a533af54eff7db1042be2f8f7cbe2 /drivers/net/bnx2x.h
parent181d6902b6bad978d157e69479c95cc0ff213a76 (diff)
downloadblackbird-obmc-linux-d7bafff3f94efd850f8744d683e63812ff8d55c5.tar.gz
blackbird-obmc-linux-d7bafff3f94efd850f8744d683e63812ff8d55c5.zip
rt2x00: don't write past the end when writing short descriptors on rt61
The space allocated in the skb for a descriptor is only 24 bytes when setting up beacons in rt61 so make sure we don't write to the descriptor words beyond that and corrupt the beacon packet. Signed-off-by: Adam Baker <linux@baker-net.org.uk> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/bnx2x.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud