Commit ea2c73af authored by Simon Horman's avatar Simon Horman
Browse files

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: default avatarJulian Anastasov <>
Signed-off-by: default avatarSimon Horman <>
parent e9e5eee8
......@@ -354,7 +354,7 @@ struct ip_vs_conn *ip_vs_ct_in_get(const struct ip_vs_conn_param *p)
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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment