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.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -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 | ||