diff options
-rw-r--r-- | net/ipv4/ipvs/ip_vs_core.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv4/ipvs/ip_vs_core.c b/net/ipv4/ipvs/ip_vs_core.c index 981cc3244ef2..1a0843cd58a9 100644 --- a/net/ipv4/ipvs/ip_vs_core.c +++ b/net/ipv4/ipvs/ip_vs_core.c | |||
@@ -1009,11 +1009,10 @@ ip_vs_in(unsigned int hooknum, struct sk_buff **pskb, | |||
1009 | if (sysctl_ip_vs_expire_nodest_conn) { | 1009 | if (sysctl_ip_vs_expire_nodest_conn) { |
1010 | /* try to expire the connection immediately */ | 1010 | /* try to expire the connection immediately */ |
1011 | ip_vs_conn_expire_now(cp); | 1011 | ip_vs_conn_expire_now(cp); |
1012 | } else { | ||
1013 | /* don't restart its timer, and silently | ||
1014 | drop the packet. */ | ||
1015 | __ip_vs_conn_put(cp); | ||
1016 | } | 1012 | } |
1013 | /* don't restart its timer, and silently | ||
1014 | drop the packet. */ | ||
1015 | __ip_vs_conn_put(cp); | ||
1017 | return NF_DROP; | 1016 | return NF_DROP; |
1018 | } | 1017 | } |
1019 | 1018 | ||