From 9ad0525216c85c8ab2d9e4b9cb3fc43e58807d2d Mon Sep 17 00:00:00 2001 From: lubeilin <1791778603@qq.com> Date: Sun, 8 Oct 2023 20:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=8F=E5=B0=91=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnt/src/channel/channel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnt/src/channel/channel.rs b/vnt/src/channel/channel.rs index 377794f..36c369c 100644 --- a/vnt/src/channel/channel.rs +++ b/vnt/src/channel/channel.rs @@ -503,7 +503,7 @@ impl Context { pub fn update_read_time(&self, id: &Ipv4Addr, route_key: &RouteKey) { let guard = &crossbeam_epoch::pin(); let table_share = self.inner.route_table.load(Ordering::Relaxed, guard); - let table = unsafe { table_share.deref().clone() }; + let table = unsafe { table_share.deref() }; if let Some(routes) = table.get(id) { for (route, time) in routes { if &route.route_key() == route_key {