staging: vt6655: device_rx_srv check sk_buff is NULL

[ Upstream commit b5eeed8cb6 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Malcolm Priestley 2015-05-31 10:35:28 +01:00 • committed by Sasha Levin
commit 05e308140f