aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2015-07-26 08:03:27 -0400
committerSimon Horman <horms@verge.net.au>2015-08-21 12:10:03 -0400
commite4ff67513096e6e196ca58043fce04d0f87babbe (patch)
tree157ee5fc3d16f5279d84f7ec75d623e3059b7b45 /include/uapi/linux
parente0b26cc997d57305b4097711e12e13992580ae34 (diff)
ipvs: add sync_maxlen parameter for the sync daemon
Allow setups with large MTU to send large sync packets by adding sync_maxlen parameter. The default value is now based on MTU but no more than 1500 for compatibility reasons. To avoid problems if MTU changes allow fragmentation by sending packets with DF=0. Problem reported by Dan Carpenter. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/ip_vs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h
index 3199243f2028..68377d8c8870 100644
--- a/include/uapi/linux/ip_vs.h
+++ b/include/uapi/linux/ip_vs.h
@@ -406,6 +406,7 @@ enum {
406 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */ 406 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */
407 IPVS_DAEMON_ATTR_MCAST_IFN, /* multicast interface name */ 407 IPVS_DAEMON_ATTR_MCAST_IFN, /* multicast interface name */
408 IPVS_DAEMON_ATTR_SYNC_ID, /* SyncID we belong to */ 408 IPVS_DAEMON_ATTR_SYNC_ID, /* SyncID we belong to */
409 IPVS_DAEMON_ATTR_SYNC_MAXLEN, /* UDP Payload Size */
409 __IPVS_DAEMON_ATTR_MAX, 410 __IPVS_DAEMON_ATTR_MAX,
410}; 411};
411 412