commit | 82042dc8295b6cd178fd2bb20253fda9e7633730 | [log] [tgz] |
---|---|---|
author | Bhasker Hariharan <bhaskerh@google.com> | Thu Mar 28 18:17:40 2019 -0700 |
committer | Shentubot <shentubot@google.com> | Thu Mar 28 18:18:12 2019 -0700 |
tree | e425c7dbeacf4d96e55f51e4e7fc19e8c8c00dd0 | |
parent | d121b25c1fd2fda93e1f6f28b9157429bc459e99 [diff] |
Fix Panic in SACKScoreboard.Delete. The panic was caused by modifying the tree while iterating which invalidated the iterator. Also fixes another bug in SACKScoreboard.Insert() which was causing blocks to be merged incorrectly. PiperOrigin-RevId: 240895053
Netstack is a network stack written in Go.
Try it out on Linux by installing the tun_tcp_echo demo:
go install github.com/google/netstack/tcpip/sample/tun_tcp_echo
Create a TUN device with:
[sudo] ip tuntap add user <username> mode tun <device-name> [sudo] ip link set <device-name> up [sudo] ip addr add <ipv4-address>/<mask-length> dev <device-name>
Then run with:
tun_tcp_echo <device-name> <ipv4-address> <port>
Please see CONTRIBUTING.md for more details.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.