mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 03:43:23 +00:00
Bump smoltcp to newest git version
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7db9ae23a3
commit
bb4751741a
@ -164,7 +164,9 @@ impl IfaceCommon {
|
||||
let mut has_events = false;
|
||||
let mut poll_at;
|
||||
loop {
|
||||
has_events |= interface.poll(timestamp, device, &mut sockets);
|
||||
while interface.poll(timestamp, device, &mut sockets) {
|
||||
has_events = true;
|
||||
}
|
||||
poll_at = interface.poll_at(timestamp, &sockets);
|
||||
let Some(instant) = poll_at else {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user