From: Marek Lindner Date: Mon, 27 May 2013 07:33:25 +0000 (+0800) Subject: batman-adv: limit local translation table max size X-Git-Tag: v3.13-rc1~105^2~132^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a19d3d85e1b854e4a483a55d740a42458085560d;p=pandora-kernel.git batman-adv: limit local translation table max size The local translation table size is limited by what can be transferred from one node to another via a full table request. The number of entries fitting into a full table request depend on whether the fragmentation is enabled or not. Therefore this patch introduces a max table size check and refuses to add more local clients when that size is reached. Moreover, if the max full table packet size changes (MTU change or fragmentation is disabled) the local table is downsized instantaneously. Signed-off-by: Marek Lindner Acked-by: Antonio Quartulli --- Reading git-diff-tree failed