dhcp: ipv6 prefix delegation improvements 50/23350/1
authorDave Barach <dave@barachs.net>
Sun, 10 Nov 2019 20:46:31 +0000 (15:46 -0500)
committerDave Barach <dave@barachs.net>
Sun, 10 Nov 2019 20:54:28 +0000 (15:54 -0500)
commitd318a996b7bdcf0246b2d9927a918a3773a88fa6
tree6af0ec47f6f1093c42c85140c7be118b77a01ce1
parentf83194c2f45bcc736edc8246b510a29c1df15756
dhcp: ipv6 prefix delegation improvements

Autoconfigure router advertisements for delegated prefixes.

Clean up a longstanding issue. If vpp receives a dhcpv6 renew reply,
do NOT reset per-delegated-prefix timers. That prevented vpp from
sending a solicit to renew the delegation on time. That, in turn
caused the RA code to send advertisements with valid_time =
preferred_time = 0.  That causes almost any downstream client to throw
away its delegated address.

Miscellaneous changes

o src/vnet/ip/ip6_neighbor.c - always memset elements allocated from pools
  to zero. DGMS.
o Remove debug spew from the ipv6 connection-tracker plugin

Type: feature

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I428feccdc47efdc413898600e0d62916928a6eb7
src/plugins/ct6/ct6_in2out.c
src/plugins/dhcp/dhcp6_pd_client_cp.c
src/plugins/mdata/FEATURE.yaml
src/vnet/ip/ip6_neighbor.c