lvs-devel
|
To: | "Julius R. Volz" <juliusv@xxxxxxxxxx> |
---|---|
Subject: | Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses. |
Cc: | lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, horms@xxxxxxxxxxxx, davem@xxxxxxxxxxxxx, vbusam@xxxxxxxxxx |
From: | Brian Haley <brian.haley@xxxxxx> |
Date: | Wed, 11 Jun 2008 21:54:48 -0400 |
Julius R. Volz wrote: +union ip_vs_addr_user { + __be32 v4; + struct in6_addr v6; +}; + +#ifdef CONFIG_IP_VS_IPV6 +#define ip_vs_addr ip_vs_addr_user +#define ip_vs_copy_addr(a, b) do { (a) = (b); } while (0) +#else +union ip_vs_addr { + __be32 v4; +}; +#define ip_vs_copy_addr(a, b) do { (a).v4 = (b).v4; } while (0) +#endif You need to use ipv6_addr_copy() with IPv6 addresses. Some of your other patches have this same problem, I found some of them... -Brian -- 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., Vince Busam |
---|---|
Next by Date: | Re: [PATCH 16/26] IPVS: Add IPv6 xmit forwarding functions., Brian Haley |
Previous by Thread: | Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses., Julius Volz |
Next by Thread: | Re: [PATCH 02/26] IPVS: Change IPVS data structures to support IPv6 addresses., Julius Volz |
Indexes: | [Date] [Thread] [Top] [All Lists] |