Re: [PATCH RFC 10/24] IPVS: Extend scheduling functions for IPv6 support
From: Julius Volz <hidden>
Date: 2008-08-27 16:02:59
Also in:
lvs-devel
On Wed, Aug 27, 2008 at 8:28 AM, Simon Horman [off-list ref] wrote:
On Wed, Aug 20, 2008 at 06:15:17PM +0200, Julius Volz wrote:quoted
Convert ip_vs_schedule() and ip_vs_sched_persist() to support scheduling IPv6 connections. Signed-off-by: Julius Volz <redacted> 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