File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
vm/devices/net/netvsp/src Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1193,13 +1193,11 @@ impl VmbusDevice for Nic {
1193
1193
// Start the coordinator task if this is the primary channel.
1194
1194
let state = if channel_idx == 0 {
1195
1195
self . insert_coordinator ( 1 , false ) ;
1196
- // No rx traffic on primary channel until guest sets the packet filter.
1197
1196
WorkerState :: Init ( None )
1198
1197
} else {
1199
1198
self . coordinator . stop ( ) . await ;
1200
1199
// Get the buffers created when the primary channel was opened.
1201
1200
let buffers = self . coordinator . state ( ) . unwrap ( ) . buffers . clone ( ) . unwrap ( ) ;
1202
- // Get the packet filter of the primary channel.
1203
1201
WorkerState :: Ready ( ReadyState {
1204
1202
state : ActiveState :: new ( None , buffers. recv_buffer . count ) ,
1205
1203
buffers,
@@ -1211,7 +1209,6 @@ impl VmbusDevice for Nic {
1211
1209
. adapter
1212
1210
. num_sub_channels_opened
1213
1211
. fetch_add ( 1 , Ordering :: SeqCst ) ;
1214
-
1215
1212
let r = self . insert_worker ( channel_idx, open_request, state, true ) ;
1216
1213
if channel_idx != 0
1217
1214
&& num_opened + 1 == self . coordinator . state_mut ( ) . unwrap ( ) . num_queues as usize
You can’t perform that action at this time.
0 commit comments