]> git.ipfire.org Git - people/ms/linux.git/commit
mwifiex: add NULL check for PCIe Rx skb
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 18 Feb 2014 23:41:55 +0000 (15:41 -0800)
committerJiri Slaby <jslaby@suse.cz>
Sat, 22 Mar 2014 21:01:51 +0000 (22:01 +0100)
commit1886824d500efeaef9144299081ff4ebe9d7752b
tree7571a271395b3360ff64818b1b3ddb69b5fb1ce6
parentdb5eb608ac4a1f8982a4a5dd5c486008eec16655
mwifiex: add NULL check for PCIe Rx skb

commit bb8e6a1ee881d131e404f0f1f5e8dc9281002771 upstream.

We may get a NULL pointer here if skb allocation for Rx packet
was failed earlier.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/wireless/mwifiex/pcie.c