fix ring buffer stuck when using multi thread runtime

This commit is contained in:
sijie.sun authored and Sijie.Sun committed 2024-09-26 14:34:33 +08:00
1 parent 3f9a1d8f2e
commit 7b4a01e7fb
9 files changed
+119 -150

No files matched your search

+2
View File
@@ -598,6 +598,7 @@ impl NicCtx {
}
Self::do_forward_nic_to_peers_ipv4(ret.unwrap(), mgr.as_ref()).await;
}
panic!("nic stream closed");
});
Ok(())
@@ -618,6 +619,7 @@ impl NicCtx {
tracing::error!(?ret, "do_forward_tunnel_to_nic sink error");
}
}
panic!("peer packet receiver closed");
});
}