|
@@ -905,7 +905,7 @@ struct ip_vs_app {
|
|
|
struct ipvs_master_sync_state {
|
|
|
struct list_head sync_queue;
|
|
|
struct ip_vs_sync_buff *sync_buff;
|
|
|
- int sync_queue_len;
|
|
|
+ unsigned long sync_queue_len;
|
|
|
unsigned int sync_queue_delay;
|
|
|
struct task_struct *master_thread;
|
|
|
struct delayed_work master_wakeup_work;
|
|
@@ -998,7 +998,7 @@ struct netns_ipvs {
|
|
|
int sysctl_snat_reroute;
|
|
|
int sysctl_sync_ver;
|
|
|
int sysctl_sync_ports;
|
|
|
- int sysctl_sync_qlen_max;
|
|
|
+ unsigned long sysctl_sync_qlen_max;
|
|
|
int sysctl_sync_sock_size;
|
|
|
int sysctl_cache_bypass;
|
|
|
int sysctl_expire_nodest_conn;
|
|
@@ -1085,7 +1085,7 @@ static inline int sysctl_sync_ports(struct netns_ipvs *ipvs)
|
|
|
return ACCESS_ONCE(ipvs->sysctl_sync_ports);
|
|
|
}
|
|
|
|
|
|
-static inline int sysctl_sync_qlen_max(struct netns_ipvs *ipvs)
|
|
|
+static inline unsigned long sysctl_sync_qlen_max(struct netns_ipvs *ipvs)
|
|
|
{
|
|
|
return ipvs->sysctl_sync_qlen_max;
|
|
|
}
|
|
@@ -1138,7 +1138,7 @@ static inline int sysctl_sync_ports(struct netns_ipvs *ipvs)
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
-static inline int sysctl_sync_qlen_max(struct netns_ipvs *ipvs)
|
|
|
+static inline unsigned long sysctl_sync_qlen_max(struct netns_ipvs *ipvs)
|
|
|
{
|
|
|
return IPVS_SYNC_QLEN_MAX;
|
|
|
}
|