summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2010-04-06 13:58:15 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-08 23:24:10 +0400
commitc503269a0f77e9b2d6de9e8a5f66ace53dde6e04 (patch)
treefc525fcf618330b20ff5871659dcd1c59114f8b1 /include/linux/stackprotector.h
parent66b10e33f742bb45a29b7dbbc8dc85583d4c9ef6 (diff)
downloadlinux-c503269a0f77e9b2d6de9e8a5f66ace53dde6e04.tar.xz
ath9k_htc: Fix module unloading issue
The maximum number of packets in a single buffer in stream mode is 10. The driver currently uses 8 - which caused stack corruption, in the absence of any kind of OOB checking. Fixing this to the correct value of 10 fixes the module unload issue. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Tested-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions