-
Notifications
You must be signed in to change notification settings - Fork 447
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: smoltcp-rs/smoltcp
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2354e0b29d6f
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: smoltcp-rs/smoltcp
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 39464a53fc00
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 2 commits
- 18 files changed
- 1 contributor
Commits on Aug 29, 2017
-
Reset the timer transitioning from TCP FIN-WAIT-1 to FIN-WAIT-2.
We don't transmit anything in FIN-WAIT-2, so we don't need the timer running, or we'll get spurious log messages about retransmissions. This also makes logic cleaner, although with no functional change.
Configuration menu - View commit details
-
Copy full SHA for 4663060 - Browse repository at this point
Copy the full SHA 4663060View commit details -
Compute soft deadline in poll() and use nonblocking sockets.
Before this commit, anything that touched RawSocket or TapInterface worked partly by accident and partly because of a horrible crutch that resulted in massive latencies as well as inevitable packet loss every time an ARP request had to be issued. Also, there was no way to use poll() other than by continuously calling it in a busy loop. After this commit, poll() indicates when the earliest timer expires, and so the caller can sleep until that moment (or until packets arrive). Note that there is a subtle problem remaining: every time poll() is called, every socket with a pending outbound packet whose IP address doesn't correspond to a MAC address will send a new ARP request, resulting in potentially a whole lot of such requests. ARP rate limiting is a separate topic though.
1Configuration menu - View commit details
-
Copy full SHA for 39464a5 - Browse repository at this point
Copy the full SHA 39464a5View commit details
There are no files selected for viewing