ipvs: add sync_maxlen parameter for the sync daemon
authorJulian Anastasov <ja@ssi.bg>
Sun, 26 Jul 2015 12:03:27 +0000 (15:03 +0300)
committerSimon Horman <horms@verge.net.au>
Fri, 21 Aug 2015 16:10:03 +0000 (09:10 -0700)
commite4ff67513096e6e196ca58043fce04d0f87babbe
tree157ee5fc3d16f5279d84f7ec75d623e3059b7b45
parente0b26cc997d57305b4097711e12e13992580ae34
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>
include/net/ip_vs.h
include/uapi/linux/ip_vs.h
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_sync.c