diff options
| author | Sven Eckelmann <sven@narfation.org> | 2026-06-11 22:14:54 +0200 |
|---|---|---|
| committer | Sven Eckelmann <sven@narfation.org> | 2026-06-13 07:57:51 +0200 |
| commit | 493d9d2528e1a09b090e4b37f0f553def7bd5ce9 (patch) | |
| tree | babae8f608ff765cc1df405db7dc0bbfc7ebf63c /scripts/Makefile.thinlto | |
| parent | b7293c6e8c15b2db77809b25cf8389e35331b27a (diff) | |
batman-adv: frag: avoid underflow of TTL
Packets with a TTL are using it to limit the amount of time this packet can
be forwarded. But for batadv_frag_packet, the TTL was always only reduced
but it was never evaluated. It could even underflow without any effect.
Check the TTL in batadv_frag_skb_fwd() before attempting to prepare it for
forwarding. This keeps it in sync with the not fragmented unicast packet.
Cc: stable@kernel.org
Fixes: 610bfc6bc99b ("batman-adv: Receive fragmented packets and merge")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
