jme: Protect vlgrp structure by pause RX actions.
commita72fce06535457d953da1ee7d9ef9773c5925fd0
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Wed, 17 Mar 2010 00:09:30 +0000 (17 00:09 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:39 +0000 (1 15:58 -0700)
treefed4dd2dba7e27042aac2dca680af976bfbd7e0f
parent7aa5e834a22b77dc16a992e8af54514021f05744
jme: Protect vlgrp structure by pause RX actions.

commit bf5e5360fd1df1ae429ebbd81838d7d0879797d1 upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/jme.c