Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Simon Horman
Date: Thursday, August 21, 2008 - 2:29 pm

On Thu, Aug 21, 2008 at 11:59:44AM +0200, Julius Volz wrote:

What I was thinking is that any change 

Thanks.

Here are a few thoughts I have had in my breif overview of the code so far
- mainly just simple style things. If any of my comments are obviously
stupid, please just say so as I haven't got to the end of the series yet
and I'm sure some of my questions are answered in the code.

[PATCH RFC 01/24] IPVS: Add genetlink interface definitions to ip_vs.h
[PATCH RFC 02/24] IPVS: Add genetlink interface implementation

* Already in lvs-2.6. Are there any changes?

[PATCH RFC 02/24] IPVS: Add genetlink interface implementation

* What is IP_VS = IPV6 ?

[PATCH RFC 04/24] IPVS: Change IPVS data structures to support IPv6 addresses

* Indentation of af in struct ip_vs_conn seems inconsistent with other
  elements.

[PATCH RFC 05/24] IPVS: Add general v4/v6 helper functions / data structures

* Use of p ? a : b construct in ip_vs_addr_equal() seems a bit aquard.
  How about

static inline int ip_vs_addr_equal(int af, const union nf_inet_addr *a,
				   const union nf_inet_addr *b)
{
#ifdef CONFIG_IP_VS_IPV6
	if (af == AF_INET)
		return ipv6_addr_equal(&a->in6, &b->in6);
#endif
	return a->ip == b->ip;
}


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS, Julius Volz, (Wed Aug 20, 9:15 am)
[PATCH RFC 11/24] IPVS: Add IPv6 xmit functions, Julius Volz, (Wed Aug 20, 9:15 am)
[PATCH RFC 23/24] IPVS: Small address/af usage fixups, Julius Volz, (Wed Aug 20, 9:15 am)
[PATCH RFC 24/24] IPVS: Add notes about IPv6 changes, Julius Volz, (Wed Aug 20, 9:15 am)
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS, Simon Horman, (Thu Aug 21, 2:29 pm)
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS, Joseph Mack NA3T, (Sat Aug 23, 8:22 am)
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS, Joseph Mack NA3T, (Sat Aug 23, 6:40 pm)
Re: [PATCH RFC 00/24] IPVS: Add first IPv6 support to IPVS, Joseph Mack NA3T, (Sat Aug 23, 7:13 pm)