vhost/net: fix rcu check usage
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 14 Nov 2010 15:31:52 +0000 (17:31 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 25 Nov 2010 09:29:16 +0000 (11:29 +0200)
commit11cd1a8b8cad1acfc140d9acce93762a9c140b20
tree7714d74c5525950d73ed7e2f80f687a8b62ed85f
parenta27e13d370415add3487949c60810e36069a23a6
vhost/net: fix rcu check usage

Incorrect rcu check was used as rcu isn't done
under mutex here. Force check to 1 for now,
to stop it from complaining.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c