staging: vt6656: free skbuff and relocate on bReAllocSkb == FALSE.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sun, 4 Nov 2012 17:20:06 +0000 (17:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2012 20:45:43 +0000 (12:45 -0800)
commit28044e0193f2d642a4981dd296b2583b30cf36ef
tree7b5b869d48de43738433590963f0c937bb1403cb
parent87c629853e9b901f9756a628aa088d8d6a1ebf00
staging: vt6656: free skbuff and relocate on bReAllocSkb == FALSE.

bReAllocSkb == FALSE is when data is not fed to user land.

Free and relocate skbuff.

Where data is not sent return = FALSE from RXbBulkInProcessData.

This appears to reduce false errors when a reused skbuff has old data.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/dpc.c