lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48508214.6080306@hp.com>
Date:	Wed, 11 Jun 2008 21:55:32 -0400
From:	Brian Haley <brian.haley@...com>
To:	"Julius R. Volz" <juliusv@...gle.com>
Cc:	lvs-devel@...r.kernel.org, netdev@...r.kernel.org,
	horms@...ge.net.au, davem@...emloft.net, vbusam@...gle.com
Subject: Re: [PATCH 24/26] IPVS: Add IPv6 support to userspace interface.

Julius R. Volz wrote:
> +#ifdef CONFIG_IP_VS_IPV6
> +		struct in6_addr zero_addr = { .s6_addr32 = {0, 0, 0, 0} };
> +		if (usvc->af == AF_INET6 && !usvc->fwmark &&
> +		    ipv6_addr_equal(&usvc->addr.v6,&zero_addr) && !usvc->port) {
> +			ret = ip_vs_zero_all();
> +			goto out_unlock;
> +		}

You can change this ipv6_addr_equal() to ipv6_addr_any(&usvc->addr.v6) 
and get rid of the zero_addr variable mess.

-Brian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ