jme: Protect vlgrp structure by pause RX actions.
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Wed, 17 Mar 2010 00:09:30 +0000 (00:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2010 04:14:00 +0000 (21:14 -0700)
commitbf5e5360fd1df1ae429ebbd81838d7d0879797d1
treeb75cfb068c845430ae93931ab7869b8bccc1e0a2
parent17da69b8bfbe441a33a873ad5dd7d3d85800bf2b
jme: Protect vlgrp structure by pause RX actions.

Temporary stop the RX IRQ, and disable (sync) tasklet or napi.
And restore it after finished the vlgrp pointer assignment.

Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Cc: stable@kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c