OSDN Git Service

staging: vt6656: lock changes: RXvMngWorkItem.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 15 May 2014 21:49:14 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 22:02:19 +0000 (15:02 -0700)
commite03ce8393e41ddff574c95ac72378ed1f02cef54
tree1862e93ff82bd39a99840e1291bb8c61cf78907e
parentd1d4120f7fab69b32d40780b766109d377d743a7
staging: vt6656: lock changes: RXvMngWorkItem.

Narrow atomic locks in RXvMngWorkItem.

We must lock the DequeueRCB and RXvFreeRCB so that
they are in sync.

vMgrRxManagePacket can nolonger be atomically called.

There is no need for an overall lock.

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