macvtap: use prepare_to_wait/finish_wait to ensure mb
authorHong zhi guo <honkiko@gmail.com>
Wed, 6 Jun 2012 22:36:27 +0000 (22:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jun 2012 20:18:54 +0000 (13:18 -0700)
instead of raw assignment to current->state

Signed-off-by: Hong Zhiguo <honkiko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found