[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f4845fc0808270902l4b5a6f5br7e0a749a5741a1b5@mail.gmail.com>
Date: Wed, 27 Aug 2008 18:02:59 +0200
From: "Julius Volz" <juliusv@...gle.com>
To: "Simon Horman" <horms@...ge.net.au>
Cc: netdev@...r.kernel.org, lvs-devel@...r.kernel.org, kaber@...sh.net,
vbusam@...gle.com
Subject: Re: [PATCH RFC 10/24] IPVS: Extend scheduling functions for IPv6 support
On Wed, Aug 27, 2008 at 8:28 AM, Simon Horman <horms@...ge.net.au> wrote:
> On Wed, Aug 20, 2008 at 06:15:17PM +0200, Julius Volz wrote:
>> Convert ip_vs_schedule() and ip_vs_sched_persist() to support scheduling
>> IPv6 connections.
>>
>> Signed-off-by: Julius Volz <juliusv@...gle.com>
>>
>> 1 files changed, 58 insertions(+), 43 deletions(-)
>>
>> diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c
>> index 99e8938..0f9a0a2 100644
>> --- a/net/ipv4/ipvs/ip_vs_core.c
>> +++ b/net/ipv4/ipvs/ip_vs_core.c
>> @@ -183,14 +183,21 @@ ip_vs_sched_persist(struct ip_vs_service *svc,
>> __be16 ports[2])
>> {
>> struct ip_vs_conn *cp = NULL;
>> - struct iphdr *iph = ip_hdr(skb);
>> + struct ip_vs_iphdr iph;
>> struct ip_vs_dest *dest;
>> struct ip_vs_conn *ct;
>> - __be16 dport; /* destination port to forward */
>> - __be32 snet; /* source network of the client, after masking */
>> + __be16 dport; /* destination port to forward */
>> + union nf_inet_addr snet; /* source network of the client, after masking */
>
> Can you break the line above so that it is <= 80 columns wide?
Sure! Same for all the other cases.
Julius
--
Julius Volz - Corporate Operations - SysOps
Google Switzerland GmbH - Identification No.: CH-020.4.028.116-1
--
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