]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: Fix HTC layer memleak
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 6 Apr 2010 09:58:19 +0000 (15:28 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Apr 2010 19:24:11 +0000 (15:24 -0400)
commit95af08f3658bc2190a5b3b430c975c2d91119fcd
tree3a955bb6f52f2824de4b3bf819e71992a18e54fe
parent36e15e77a75788d9bc24fe7842ea06003266e216
ath9k_htc: Fix HTC layer memleak

Messages that are generated by the HTC layer
don't have any TX callback endpoints assigned to them.
Consequently, the allocated SKBs are never freed.

Fix this issue by handling this case in the HTC layer
itself.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_hst.c