smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.63k stars 402 forks source link

ignore checksum during loopback #918

Closed skpupil closed 2 months ago

skpupil commented 2 months ago

There is no need to check the checksum during loopback. According to tests, this optimization improves performance by more than 30%.