summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2013-05-27 11:33:25 +0400
committerAntonio Quartulli <antonio@meshcoding.com>2013-10-23 19:03:43 +0400
commita19d3d85e1b854e4a483a55d740a42458085560d (patch)
treea289948258c78d0ea968059ab432046ac2938d56 /fs
parent4627456a77782026ab60c4a16435b089bb444fce (diff)
downloadlinux-a19d3d85e1b854e4a483a55d740a42458085560d.tar.xz
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 <lindner_marek@yahoo.de> Acked-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions