From: Alex Gartrell Date: Tue, 9 Sep 2014 23:40:27 +0000 (-0700) Subject: ipvs: Add generic ensure_mtu_is_adequate to handle mixed pools X-Git-Tag: fixes-against-v3.18-rc2~144^2~111^2~7^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c63e4de2be5e1d253adce16dbba57ed42868bc22;p=pandora-kernel.git ipvs: Add generic ensure_mtu_is_adequate to handle mixed pools The out_rt functions check to see if the mtu is large enough for the packet and, if not, send icmp messages (TOOBIG or DEST_UNREACH) to the source and bail out. We needed the ability to send ICMP from the out_rt_v6 function and DEST_UNREACH from the out_rt function, so we just pulled it out into a common function. Signed-off-by: Alex Gartrell Acked-by: Julian Anastasov Signed-off-by: Simon Horman --- Reading git-diff-tree failed