]> 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)
commit656cefdaba9c78b620ad3d03ee6623a76c01f433
treef0006c4a286c5abe22aa3c5f9a66fb1c8b742a3a
parent222e7e20e627c7694fc582203301e946a8898c63
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