On Monday 08 November 2010 07:21:23 Simon Horman wrote:
[ snip ]
> How about this, which applies on top of
> "IPVS: Add persistence engine to connection entry".
>
> From: Simon Horman <horms@xxxxxxxxxxxx>
> Subject: IPVS: Only match pe_data created by the same pe
>
> Only match persistence engine data if it was
> created by the same persistence engine.
>
> Reported-by: Julian Anastasov <ja@xxxxxx>
> Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Thanks I'll will use that one,
I think it's time to cook a new backup patch,
or do any one have more patches in the pipe ?
>
> Index: lvs-test-2.6/net/netfilter/ipvs/ip_vs_conn.c
> ===================================================================
> --- lvs-test-2.6.orig/net/netfilter/ipvs/ip_vs_conn.c 2010-11-08
> 15:18:57.000000000 +0900
> +++ lvs-test-2.6/net/netfilter/ipvs/ip_vs_conn.c 2010-11-08
> 15:19:02.000000000 +0900
> @@ -354,7 +354,7 @@ struct ip_vs_conn *ip_vs_ct_in_get(const
>
> list_for_each_entry(cp, &ip_vs_conn_tab[hash], c_list) {
> if (p->pe_data && p->pe->ct_match) {
> - if (p->pe->ct_match(p, cp))
> + if (p->pe == cp->pe && p->pe->ct_match(p, cp))
> goto out;
> continue;
> }
> --
> 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
>
--
Regards
Hans Schillstrom <hans.schillstrom@xxxxxxxxxxxx>
--
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
|