]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit16743b5494272fc8ccf4f8902ca0c0159e7d952a
treeb75cfb068c845430ae93931ab7869b8bccc1e0a2
parentc444c9105605d351878589dfb03645fc7f0a2ea3
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