]> git.karo-electronics.de Git - linux-beck.git/commit
staging: vt6655: device_rx_srv check sk_buff is NULL
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 31 May 2015 09:35:28 +0000 (10:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 21:24:58 +0000 (06:24 +0900)
commitb5eeed8cb6097c8ea660b6598d36fdbb94065a22
tree3862117b790e6cec03df7ade60b65b77f5ed76ba
parent41b9e5e5164da54c4dd77492d2e3909c38de4fc9
staging: vt6655: device_rx_srv check sk_buff is NULL

There is a small chance that pRD->pRDInfo->skb could go NULL
while the interrupt is processing.

Put NULL check on loop to break out.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c