diff options
-rw-r--r-- | net/ipv4/ipvs/ip_vs_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c index 80a4fcf33a54..ece748dbd0cd 100644 --- a/net/ipv4/ipvs/ip_vs_core.c +++ b/net/ipv4/ipvs/ip_vs_core.c | |||
@@ -457,6 +457,7 @@ int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb, | |||
457 | if (sysctl_ip_vs_cache_bypass && svc->fwmark && unicast) { | 457 | if (sysctl_ip_vs_cache_bypass && svc->fwmark && unicast) { |
458 | int ret, cs; | 458 | int ret, cs; |
459 | struct ip_vs_conn *cp; | 459 | struct ip_vs_conn *cp; |
460 | union nf_inet_addr daddr = { .all = { 0, 0, 0, 0 } }; | ||
460 | 461 | ||
461 | ip_vs_service_put(svc); | 462 | ip_vs_service_put(svc); |
462 | 463 | ||
@@ -465,7 +466,7 @@ int ip_vs_leave(struct ip_vs_service *svc, struct sk_buff *skb, | |||
465 | cp = ip_vs_conn_new(svc->af, iph.protocol, | 466 | cp = ip_vs_conn_new(svc->af, iph.protocol, |
466 | &iph.saddr, pptr[0], | 467 | &iph.saddr, pptr[0], |
467 | &iph.daddr, pptr[1], | 468 | &iph.daddr, pptr[1], |
468 | 0, 0, | 469 | &daddr, 0, |
469 | IP_VS_CONN_F_BYPASS, | 470 | IP_VS_CONN_F_BYPASS, |
470 | NULL); | 471 | NULL); |
471 | if (cp == NULL) | 472 | if (cp == NULL) |