staging: vt6655: device_rx_srv check sk_buff is NULL
commit05e308140f6b33f08033e079e7c168ebadde588b
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 31 May 2015 09:35:28 +0000 (31 10:35 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 4 Jul 2015 03:02:22 +0000 (3 23:02 -0400)
tree260a937a02c5fed3008fe6eafbde228505f02d2c
parentd83de3f9798fe8349fbcb61a7a5ea34f2cd80cba
staging: vt6655: device_rx_srv check sk_buff is NULL

[ Upstream commit b5eeed8cb6097c8ea660b6598d36fdbb94065a22 ]

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>
drivers/staging/vt6655/device_main.c