]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39483568fdd6774968bd77799071760ff9efcbff
treef0006c4a286c5abe22aa3c5f9a66fb1c8b742a3a
parentb4a1da982a8277214d24c1ca17acfb92eb06d57e
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