summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2025-02-02 19:04:14 +0300
committerSimon Wunderlich <sw@simonwunderlich.de>2025-02-22 13:36:26 +0300
commite4aa3412f632c70276b770fb3efb5b441c11f607 (patch)
tree524dde569e9f0cba186be409b8cadd99b35a2e9d /net/lapb/lapb_subr.c
parent0db110059e7900c3c197281e2ed11ff08484e3ed (diff)
downloadlinux-e4aa3412f632c70276b770fb3efb5b441c11f607.tar.xz
batman-adv: Limit aggregation size to outgoing MTU
If a B.A.T.M.A.N. IV aggregated OGM was prepared, it was always assumed that 512 bytes (BATADV_MAX_AGGREGATION_BYTES) can be transmitted. But the outgoing MTU might be too small for these 512 bytes and the aggregation size must be adjusted in this case. Otherwise, the aggregates will cause unnecessary packet loss. For now, the non-aggregated packet length is not touched. Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions