summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r--drivers/vhost/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index ad7a6f475a44..e87ef969a0fd 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -1365,7 +1365,7 @@ static int vhost_net_release(struct inode *inode, struct file *f)
1365 if (rx_sock) 1365 if (rx_sock)
1366 sockfd_put(rx_sock); 1366 sockfd_put(rx_sock);
1367 /* Make sure no callbacks are outstanding */ 1367 /* Make sure no callbacks are outstanding */
1368 synchronize_rcu_bh(); 1368 synchronize_rcu();
1369 /* We do an extra flush before freeing memory, 1369 /* We do an extra flush before freeing memory,
1370 * since jobs can re-queue themselves. */ 1370 * since jobs can re-queue themselves. */
1371 vhost_net_flush(n); 1371 vhost_net_flush(n);