From: Jes Sorensen Date: Tue, 15 Apr 2014 17:44:24 +0000 (+0200) Subject: staging: rtl8723au: Remove buggy function _rtw_report_sec_ie() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1465 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959226ac54b1b4cf9d6d2b496e097a29b4b1d338;p=pandora-kernel.git staging: rtl8723au: Remove buggy function _rtw_report_sec_ie() This function was extremely buggy calling kmalloc(GFP_KERNEL) while holding a spin lock and then potentially overflowing the buffer it had allocated. Since the generated output wasn't used for anything, simply rip the whole thing out. Reported-by: Dan Carpenter Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed