IPVS: Make the cp argument to ip_vs_sync_conn() static
authorSimon Horman <horms@verge.net.au>
Tue, 9 Nov 2010 00:33:15 +0000 (09:33 +0900)
committerSimon Horman <horms@verge.net.au>
Mon, 15 Nov 2010 23:13:07 +0000 (08:13 +0900)
Acked-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_sync.c

index be2b5690f8927b52175f0c1bb36bfb20505e32cb..d5a32e47f9d95423394da779cfa417db3359beaf 100644 (file)
@@ -916,7 +916,7 @@ extern char ip_vs_master_mcast_ifn[IP_VS_IFNAME_MAXLEN];
 extern char ip_vs_backup_mcast_ifn[IP_VS_IFNAME_MAXLEN];
 extern int start_sync_thread(int state, char *mcast_ifn, __u8 syncid);
 extern int stop_sync_thread(int state);
-extern void ip_vs_sync_conn(struct ip_vs_conn *cp);
+extern void ip_vs_sync_conn(const struct ip_vs_conn *cp);
 
 
 /*
index ab85aedea17eea6100eb1aefe48b028d371f29d2..a4dccbc4f1bbbede338574b6b0eb119df8872a73 100644 (file)
@@ -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;