![]() |
lvs-devel
|
| To: | "Brian Haley" <brian.haley@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH 24/26] IPVS: Add IPv6 support to userspace interface. |
| Cc: | lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx |
| From: | "Julius Volz" <juliusv@xxxxxxxxxx> |
| Date: | Thu, 12 Jun 2008 11:46:43 +0200 |
On Thu, Jun 12, 2008 at 3:55 AM, Brian Haley <brian.haley@xxxxxx> wrote:
> 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.
Thanks, will do that!
Julius
--
Google Switzerland GmbH
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
|
| Previous by Date: | Re: [PATCH 00/26] IPVS: Add first IPv6 support to IPVS., Simon Horman |
|---|---|
| Next by Date: | Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses., Julius Volz |
| Previous by Thread: | Re: [PATCH 24/26] IPVS: Add IPv6 support to userspace interface., Brian Haley |
| Next by Thread: | [PATCH 23/26] IPVS: Add hash functions for IPv6 services and real servers., Julius R. Volz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |