projects
/
profile
/
common
/
platform
/
kernel
/
linux-artik7.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71563f3
)
ipvs: fix crash with sync protocol v0 and FTP
author
Julian Anastasov
<ja@ssi.bg>
Wed, 8 Jul 2015 05:31:33 +0000
(08:31 +0300)
committer
Simon Horman
<horms@verge.net.au>
Tue, 14 Jul 2015 07:41:27 +0000
(16:41 +0900)
Fix crash in 3.5+ if FTP is used after switching
sync_version to 0.
Fixes:
749c42b620a9
("ipvs: reduce sync rate with time thresholds")
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_sync.c
patch
|
blob
|
history
diff --git
a/net/netfilter/ipvs/ip_vs_sync.c
b/net/netfilter/ipvs/ip_vs_sync.c
index
b08ba95
..
d99ad93
100644
(file)
--- a/
net/netfilter/ipvs/ip_vs_sync.c
+++ b/
net/netfilter/ipvs/ip_vs_sync.c
@@
-612,7
+612,7
@@
static void ip_vs_sync_conn_v0(struct net *net, struct ip_vs_conn *cp,
pkts = atomic_add_return(1, &cp->in_pkts);
else
pkts = sysctl_sync_threshold(ipvs);
- ip_vs_sync_conn(net, cp
->control
, pkts);
+ ip_vs_sync_conn(net, cp, pkts);
}
}