Skip to content

Commit 48c5d97

Browse files
committed
skip updating channel 0
1 parent 2e331f7 commit 48c5d97

File tree

1 file changed

+1
-1
lines changed
  • vm/devices/net/netvsp/src

1 file changed

+1
-1
lines changed

vm/devices/net/netvsp/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3945,7 +3945,7 @@ impl Coordinator {
39453945
self.stop_workers().await;
39463946
let worker_0_packet_filter =
39473947
self.workers[0].state().unwrap().channel.packet_filter;
3948-
self.workers.iter_mut().for_each(|worker| {
3948+
self.workers.iter_mut().skip(1).for_each(|worker| {
39493949
if let Some(state) = worker.state_mut() {
39503950
state.channel.packet_filter = worker_0_packet_filter;
39513951
tracing::debug!(

0 commit comments

Comments
 (0)