From: Victor Goldenshtein Date: Tue, 17 Sep 2013 15:41:25 +0000 (+0300) Subject: wlcore: fix unsafe dereference of the wlvif X-Git-Tag: v3.13-rc1~105^2~225^2~26^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9d5d28aabc6e420a0b6fb3a24b93046878e864;p=pandora-kernel.git wlcore: fix unsafe dereference of the wlvif wlvif could be passed as NULL from the wlcore_tx_work_locked() to the wl1271_prepare_tx_frame() and to wl1271_skb_queue_head() functions. This may lead to a Kernel panic, fix this by validating that wlvif != NULL. Signed-off-by: Victor Goldenshtein Signed-off-by: Eliad Peller Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed