]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:44 +0000 (16:01 -0700)
commit8063440b1299495d330b74d6f88fa6896a8c7eff
tree9d35861c90e9c8ff6ad8b6d8b4bc885ff0eae1cb
parent53238f89fcbe3626d2520ae1580c5997793827f1
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