Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 18:12:54 GMT
From:      Robert Wing <rew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fdd1e1a56457 - main - bhyve: correct slirp_recv_disable()
Message-ID:  <202401171812.40HICshL045497@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401171812.40HICshL045497>