diff options
author | 2025-02-02 17:04:10 +0100 | |
---|---|---|
committer | 2025-02-22 11:36:25 +0100 | |
commit | 434becf57bdc89f939db635ed3337b9d1da5967e (patch) | |
tree | d6a118b79259b4e2413e06c26cfcd209515b4802 /net/lapb/lapb_out.c | |
parent | batman-adv: Use consistent name for mesh interface (diff) | |
download | wireguard-linux-434becf57bdc89f939db635ed3337b9d1da5967e.tar.xz wireguard-linux-434becf57bdc89f939db635ed3337b9d1da5967e.zip |
batman-adv: Limit number of aggregated packets directly
The currently selected size in BATADV_MAX_AGGREGATION_BYTES (512) is chosen
such that the number of possible aggregated packets is lower than 32. This
number must be limited so that the type of
batadv_forw_packet->direct_link_flags has enough bits to represent each
packet (with the size of at least 24 bytes).
This requirement is better implemented in code instead of having it inside
a comment.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions