aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_netdev.h
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-19 14:41:56 -0400
committerSimon Horman <horms@verge.net.au>2008-09-21 19:55:58 -0400
commite6f225ebb7c35fe30fdf8608927c5cf8fce6de7d (patch)
treecd6c67a447fcf35c020fb52d3ac4d60402ed80f1 /net/mac80211/debugfs_netdev.h
parentf5fff5dc8a7a3f395b0525c02ba92c95d42b7390 (diff)
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 <sven.wegener@stealer.net> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/mac80211/debugfs_netdev.h')
0 files changed, 0 insertions, 0 deletions