[PATCH 1/3] C/R: Support for IPv6 addresses on network devices (v2)

Brian Haley brian.haley at hp.com
Tue Apr 6 08:53:35 PDT 2010


Dan Smith wrote:

> +static int ckpt_netdev_inet6_addrs(struct inet6_dev *indev,
> +				   int index, int max,
> +				   struct ckpt_netdev_addr *abuf)
> +{
> +	struct inet6_ifaddr *addr;
> +	struct ifmcaddr6 *mcaddr;
> +	struct ifacaddr6 *acaddr;
> +
> +	for (addr = indev->addr_list; addr; addr = addr->if_next) {
> +		if (ipv6_addr_scope(&addr->addr))
> +			continue; /* Ignore non-global scope addresses */

This will prevent the loopback address (::1) from getting checkpointed
since it's host-local.  The ipv6 module will add it anyways so it's
probably not a big deal.

-Brian


More information about the Containers mailing list