Merge branch 'vhost-net' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

+4 -3
+4 -3
drivers/vhost/vhost.c
··· 858 858 if (r < 0) 859 859 return r; 860 860 len -= l; 861 - if (!len) 861 + if (!len) { 862 + if (vq->log_ctx) 863 + eventfd_signal(vq->log_ctx, 1); 862 864 return 0; 865 + } 863 866 } 864 - if (vq->log_ctx) 865 - eventfd_signal(vq->log_ctx, 1); 866 867 /* Length written exceeds what we have stored. This is a bug. */ 867 868 BUG(); 868 869 return 0;