smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.75k stars 421 forks source link

Ethernet::poll infinite loop #226

Closed jD91mZM2 closed 6 years ago

jD91mZM2 commented 6 years ago

I'm trying to update Redox OS' netstack to the latest master (currently 91f5891dbbea35010d62e8f5b50fd51e2f05d6b6) of smoltcp (diff) but it doesn't work with https for some reason. Video. Note that no lines regarding tcp had to be changed what-so-ever.

Upon closer inspection it seems like Ethernet::poll blocks forever. A few more debug messages reveal that this line always returns true, which causes it to loop. Deleting the loop solves the issue, but it must be there for a reason so that can't be a reliable fix.

jD91mZM2 commented 6 years ago

Fixed on the latest master. See #224.