git: fdd1e1a56457 - main - bhyve: correct slirp_recv_disable()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jan 2024 18:12:54 UTC
The branch main has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=fdd1e1a5645714b68cbef56bc6e055a39a43d85b commit fdd1e1a5645714b68cbef56bc6e055a39a43d85b Author: Robert Wing <rew@FreeBSD.org> AuthorDate: 2024-01-17 18:12:44 +0000 Commit: Robert Wing <rew@FreeBSD.org> CommitDate: 2024-01-17 18:12:44 +0000 bhyve: correct slirp_recv_disable() Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D43472 --- usr.sbin/bhyve/net_backend_slirp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/net_backend_slirp.c b/usr.sbin/bhyve/net_backend_slirp.c index 1d6ed45b90f2..5ae33801387c 100644 --- a/usr.sbin/bhyve/net_backend_slirp.c +++ b/usr.sbin/bhyve/net_backend_slirp.c @@ -627,11 +627,11 @@ slirp_recv_enable(struct net_backend *be) } static void -slirp_recv_disable(struct net_backend *be __unused) +slirp_recv_disable(struct net_backend *be) { struct slirp_priv *priv = NET_BE_PRIV(be); - mevent_enable(priv->mevp); + mevent_disable(priv->mevp); } static uint64_t