]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0bab9c722e149e375e281cb75055c5fce88e22f
tree7714d74c5525950d73ed7e2f80f687a8b62ed85f
parent15bf456bf625cfaeae30846086bdd58eda7effd5
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