Staging: rtl8192u: r819xU_cmdpkt: checking NULL value after doing dev_alloc_skb
authorIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 20 Sep 2013 15:11:27 +0000 (17:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2013 23:53:39 +0000 (16:53 -0700)
commitc3aed2312fd3c74e77e049b795e092689d414474
treed4386049d6dee15d75af90770bbd4830a936831a
parent3ff4afe80e50ff4e84b4a59a38a6a657d1e7fdd1
Staging: rtl8192u: r819xU_cmdpkt: checking NULL value after doing dev_alloc_skb

Checking the return of dev_alloc_skb as stated in the following bug: https://bugzilla.kernel.org/show_bug.cgi?id=60411

Signed-off-by: Iker Pedrosa <ikerpedrosam@gmail.com>
Reported-by: RUC_Soft_Sec rucsoftsec@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r819xU_cmdpkt.c