ipvs: add pmtu_disc option to disable IP DF for TUN packets
authorJulian Anastasov <ja@ssi.bg>
Fri, 20 Jul 2012 08:59:53 +0000 (11:59 +0300)
committerSimon Horman <horms@verge.net.au>
Fri, 10 Aug 2012 01:35:07 +0000 (10:35 +0900)
commit3654e61137db891f5312e6dd813b961484b5fdf3
treef0006c4a286c5abe22aa3c5f9a66fb1c8b742a3a
parentf2edb9f7706dcb2c0d9a362b2ba849efe3a97f5e
ipvs: add pmtu_disc option to disable IP DF for TUN packets

Disabling PMTU discovery can increase the output packet
rate but some users have enough resources and prefer to fragment
than to drop traffic. By default, we copy the DF bit but if
pmtu_disc is disabled we do not send FRAG_NEEDED messages anymore.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/ipvs/ip_vs_xmit.c