linux_dsm_epyc7002/drivers/vhost
Jason Wang 692a998b90 vhost_net: correct error handling in vhost_net_set_backend()
Currently, when vhost_init_used() fails the sock refcnt and ubufs were
leaked. Correct this by calling vhost_init_used() before assign ubufs and
restore the oldsock when it fails.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-29 15:43:03 -05:00
..
Kconfig tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
Kconfig.tcm tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
Makefile tcm_vhost: Initial merge for vhost level target fabric driver 2012-07-29 13:49:10 -07:00
net.c vhost_net: correct error handling in vhost_net_set_backend() 2013-01-29 15:43:03 -05:00
tcm_vhost.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2012-12-15 14:25:10 -08:00
tcm_vhost.h tcm_vhost: Convert I/O path to use target_submit_cmd_map_sgls 2012-10-02 14:16:20 -07:00
test.c vhost: Separate vhost-net features from vhost features 2012-07-22 01:21:53 +03:00
test.h
vhost.c vhost: avoid backend flush on vring ops 2012-12-06 17:09:18 +02:00
vhost.h vhost: avoid backend flush on vring ops 2012-12-06 17:09:18 +02:00