Staging: rtl8192e: rtllib_rx: checking NULL value after doing dev_alloc_skb
authorIker Pedrosa <ikerpedrosam@gmail.com>
Thu, 8 Aug 2013 10:56:44 +0000 (12:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:20:25 +0000 (15:20 -0700)
commit59aabd6a223de6af2a513bfac1bb783764820c72
tree3c7ce99e726f0451f3fcbd3f2c2196ae0f6280d1
parentddf62f2c7bd041d35095b525ab33e3a3e0829aaa
Staging: rtl8192e: rtllib_rx: 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=60401

Reported-by: RUC_Soft_Sec rucsoftsec@gmail.com
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Iker Pedrosa <ikerpedrosam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c