vhost-net: Free ubuf when vhost_dev_set_owner fails
authorAsias He <asias@redhat.com>
Mon, 6 May 2013 03:16:00 +0000 (11:16 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 6 May 2013 09:57:54 +0000 (12:57 +0300)
commitb1ad8496c9f47d8b545ed4e948ab4271627c8bcf
tree6848310c33e199c7a6888f51e82e4663cfb5e4c3
parent54db63c2ca153ebf0c868cdf79f52ec9e701d38c
vhost-net: Free ubuf when vhost_dev_set_owner fails

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