aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/ipvs/ip_vs_sync.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-11-09 09:33:15 +0900
committerSimon Horman <horms@verge.net.au>2010-11-16 08:13:07 +0900
commitd494262b8a0f3507b62104a565849124abe29827 (patch)
tree3d10d6ba763e957605c993693425313d6a396835 /net/netfilter/ipvs/ip_vs_sync.c
parentIPVS: Only match pe_data created by the same pe (diff)
downloadlinux-dev-d494262b8a0f3507b62104a565849124abe29827.tar.xz
linux-dev-d494262b8a0f3507b62104a565849124abe29827.zip
IPVS: Make the cp argument to ip_vs_sync_conn() static
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to '')
-rw-r--r--net/netfilter/ipvs/ip_vs_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index ab85aedea17e..a4dccbc4f1bb 100644
--- a/net/netfilter/ipvs/ip_vs_sync.c
+++ b/net/netfilter/ipvs/ip_vs_sync.c
@@ -236,7 +236,7 @@ get_curr_sync_buff(unsigned long time)
* Add an ip_vs_conn information into the current sync_buff.
* Called by ip_vs_in.
*/
-void ip_vs_sync_conn(struct ip_vs_conn *cp)
+void ip_vs_sync_conn(const struct ip_vs_conn *cp)
{
struct ip_vs_sync_mesg *m;
struct ip_vs_sync_conn *s;