Re: [PATCH RFC 19/24] IPVS: Add IPv6 support flag to schedulers
From: Julius Volz <hidden>
Date: 2008-08-21 10:21:39
Also in:
lvs-devel
From: Julius Volz <hidden>
Date: 2008-08-21 10:21:39
Also in:
lvs-devel
On Thu, Aug 21, 2008 at 3:48 AM, Simon Horman wrote:
On Wed, Aug 20, 2008 at 06:15:26PM +0200, Julius Volz wrote:quoted
Add 'supports_ipv6' flag to struct ip_vs_scheduler to indicate whether a scheduler supports IPv6. Set the flag to 1 in schedulers that work with IPv6, 0 otherwise. This flag is checked in a later patch while trying to add a service with a specific scheduler.I wonder if there are some spare bits inside the flags member of ip_vs_scheduler that could be used for this purpose?
Hm, there isn't any 'flags' member or similar in that struct...
Otherwise, I'm fine with this, we can juggle things around later to use the other bits in supports_ipv6 for other things if and when the need arises.
Yes, then we could also rename it to 'flags' once needed.
Here is a version that applies against lvs-2.6
Thanks, I guess I should start basing all of my IPVS patches on this tree rather than net-2.6? Julius -- Google Switzerland GmbH