History

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.

Julian Anastasov committed 11 years ago

Commit e4ff6751 parent e0b26cc4 files · +108 −102Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/ip_vs.h+1−0
@@ -406,6 +406,7 @@ enum { · 405 unmodified lines
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