From: Sven Wegener Date: Fri, 19 Sep 2008 18:41:56 +0000 (+0200) Subject: ipvs: Restrict sync message to 255 connections X-Git-Tag: v2.6.28-rc1~717^2~88^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f225ebb7c35fe30fdf8608927c5cf8fce6de7d;p=pandora-kernel.git ipvs: Restrict sync message to 255 connections The nr_conns variable in the sync message header is only eight bits wide and will overflow on interfaces with a large MTU. As a result the backup won't parse all connections contained in the sync buffer. On regular ethernet with an MTU of 1500 this isn't a problem, because we can't overflow the value, but consider jumbo frames being used on a cross-over connection between both directors. We now restrict the size of the sync buffer, so that we never put more than 255 connections into a single sync buffer. Signed-off-by: Sven Wegener Signed-off-by: Simon Horman --- Reading git-diff-tree failed