LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [patch v2.3 2/4] IPVS: make friends with nf_conntrack

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: Re: [patch v2.3 2/4] IPVS: make friends with nf_conntrack
Cc: lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, netfilter@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>, Wensong Zhang <wensong@xxxxxxxxxxxx>, Julius Volz <julius.volz@xxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Hannes Eder <heder@xxxxxxxxxx>
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Tue, 06 Jul 2010 13:36:43 +0200
Simon Horman wrote:
+static void
+ip_vs_update_conntrack(struct sk_buff *skb, struct ip_vs_conn *cp)
+{
+       struct nf_conn *ct = (struct nf_conn *)skb->nfct;
+       struct nf_conntrack_tuple new_tuple;
+
+       if (ct == NULL || ct == &nf_conntrack_untracked ||
+           nf_ct_is_confirmed(ct))
Similar to the last patch, this needs to use nf_ct_is_untracked().

+               return;
+

--
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

<Prev in Thread] Current Thread [Next in Thread>