]> Pileus Git - ~andy/linux/commit
vhost: check owner before we overwrite ubuf_info
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 6 Jun 2013 12:20:39 +0000 (15:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Jun 2013 09:46:21 +0000 (02:46 -0700)
commit05c05351943cc03bf5c77e86953b24ae6fb21368
tree51274c86eeca2cd5040979d1fdebd81fe0518a19
parentc2020be3c35ab230b4ee046c262ddab3e0d3aab4
vhost: check owner before we overwrite ubuf_info

If device has an owner, we shouldn't touch ubuf_info
since it might be in use.

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