diff options
| author | Sven Eckelmann <[email protected]> | 2025-02-02 16:04:10 +0000 |
|---|---|---|
| committer | Simon Wunderlich <[email protected]> | 2025-02-22 10:36:25 +0000 |
| commit | 434becf57bdc89f939db635ed3337b9d1da5967e (patch) | |
| tree | d6a118b79259b4e2413e06c26cfcd209515b4802 /arch/s390/lib/test_modules_helpers.c | |
| parent | batman-adv: Use consistent name for mesh interface (diff) | |
| download | kernel-434becf57bdc89f939db635ed3337b9d1da5967e.tar.gz kernel-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 <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions
