Re: [PATCH -next] vhost: fix missing unlock on error in vhost_net_set_features()

2016-08-02 Thread Michael S. Tsirkin
On Tue, Aug 02, 2016 at 01:50:10PM +, Wei Yongjun wrote: > Add the missing unlock before return from function > vhost_net_set_features() in the error handling case. > > Fixes: eefe82d9b81f ('vhost: new device IOTLB API') > Signed-off-by: Wei Yongjun Thanks! I'll squash

[PATCH -next] vhost: fix missing unlock on error in vhost_net_set_features()

2016-08-02 Thread Wei Yongjun
Add the missing unlock before return from function vhost_net_set_features() in the error handling case. Fixes: eefe82d9b81f ('vhost: new device IOTLB API') Signed-off-by: Wei Yongjun --- drivers/vhost/net.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-)