aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2010-11-08 19:33:15 -0500
committerSimon Horman <horms@verge.net.au>2010-11-15 18:13:07 -0500
commitd494262b8a0f3507b62104a565849124abe29827 (patch)
tree3d10d6ba763e957605c993693425313d6a396835
parentea2c73afc23db3084fd857b027446c38fc7ff2c9 (diff)
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>
-rw-r--r--include/net/ip_vs.h2
-rw-r--r--net/netfilter/ipvs/ip_vs_sync.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h
index be2b5690f892..d5a32e47f9d9 100644
--- a/include/net/ip_vs.h
+++ b/include/net/ip_vs.h
@@ -916,7 +916,7 @@ extern char ip_vs_master_mcast_ifn[IP_VS_IFNAME_MAXLEN];
916extern char ip_vs_backup_mcast_ifn[IP_VS_IFNAME_MAXLEN]; 916extern char ip_vs_backup_mcast_ifn[IP_VS_IFNAME_MAXLEN];
917extern int start_sync_thread(int state, char *mcast_ifn, __u8 syncid); 917extern int start_sync_thread(int state, char *mcast_ifn, __u8 syncid);
918extern int stop_sync_thread(int state); 918extern int stop_sync_thread(int state);
919extern void ip_vs_sync_conn(struct ip_vs_conn *cp); 919extern void ip_vs_sync_conn(const struct ip_vs_conn *cp);
920 920
921 921
922/* 922/*
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)
236 * Add an ip_vs_conn information into the current sync_buff. 236 * Add an ip_vs_conn information into the current sync_buff.
237 * Called by ip_vs_in. 237 * Called by ip_vs_in.
238 */ 238 */
239void ip_vs_sync_conn(struct ip_vs_conn *cp) 239void ip_vs_sync_conn(const struct ip_vs_conn *cp)
240{ 240{
241 struct ip_vs_sync_mesg *m; 241 struct ip_vs_sync_mesg *m;
242 struct ip_vs_sync_conn *s; 242 struct ip_vs_sync_conn *s;