gvisor/pkg/tcpip
Ghanan Gowripalan a7a1f00425 Support upgrading expired/removed IPv6 addresses to permanent SLAAC addresses
If a previously added IPv6 address (statically or via SLAAC) was removed, it
would be left in an expired state waiting to be cleaned up if any references to
it were still held. During this time, the same address could be regenerated via
SLAAC, which should be allowed. This change supports this scenario.

When upgrading an endpoint from temporary or permanentExpired to permanent,
respect the new configuration type (static or SLAAC) and deprecated status,
along with the new PrimaryEndpointBehavior (which was already supported).

Test: stack.TestAutoGenAddrAfterRemoval
PiperOrigin-RevId: 289990168
2020-01-15 20:23:06 -08:00
..
adapters/gonet New sync package. 2020-01-09 22:02:24 -08:00
buffer Use PacketBuffers for outgoing packets. 2019-11-14 10:15:38 -08:00
checker Solicit IPv6 routers when a NIC becomes enabled as a host 2020-01-15 17:10:48 -08:00
hash/jenkins Cleanup visibility. 2019-11-23 23:54:41 -08:00
header Solicit IPv6 routers when a NIC becomes enabled as a host 2020-01-15 17:10:48 -08:00
iptables Merge pull request #1528 from kevinGC:iptables-write 2020-01-13 11:26:26 -08:00
link New sync package. 2020-01-09 22:02:24 -08:00
network New sync package. 2020-01-09 22:02:24 -08:00
ports New sync package. 2020-01-09 22:02:24 -08:00
sample Add additional packages to go branch 2019-12-11 14:22:36 -08:00
seqnum Cleanup visibility. 2019-11-23 23:54:41 -08:00
stack Support upgrading expired/removed IPv6 addresses to permanent SLAAC addresses 2020-01-15 20:23:06 -08:00
transport Bugfix to terminate the protocol loop on StateError. 2020-01-15 13:21:50 -08:00
BUILD Put CancellableTimer tests in the tcpip_test package 2020-01-10 14:32:17 -08:00
packet_buffer.go Use PacketBuffers with GSO. 2019-11-22 14:52:35 -08:00
packet_buffer_state.go Use PacketBuffers for outgoing packets. 2019-11-14 10:15:38 -08:00
tcpip.go Implement {g,s}etsockopt(IP_RECVTOS) for UDP sockets 2020-01-14 13:33:23 -08:00
tcpip_test.go Implement proper local broadcast behavior 2019-10-03 19:31:35 -07:00
time.s Change copyright notice to "The gVisor Authors" 2019-04-29 14:26:23 -07:00
time_unsafe.go Update build tags to allow Go 1.14 2019-10-29 13:18:16 -07:00
timer.go CancellableTimer to encapsulate the work of safely stopping timers 2020-01-08 17:50:54 -08:00
timer_test.go Put CancellableTimer tests in the tcpip_test package 2020-01-10 14:32:17 -08:00