]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
batman-adv: tt: avoid empty VLAN responses
authorSven Eckelmann <sven@narfation.org>
Sat, 2 May 2026 18:47:34 +0000 (20:47 +0200)
committerSven Eckelmann <sven@narfation.org>
Tue, 12 May 2026 06:33:53 +0000 (08:33 +0200)
commitfa1bd704940b5bcbc32c0b28db9167405c8ee5e0
tree8ce3b3516a4783bcdc9f3a1d50ba5609329f8b27
parent94d27005016be15ffc638b2ecbc4d58805ad7b48
batman-adv: tt: avoid empty VLAN responses

The commit 16116dac2339 ("batman-adv: prevent TT request storms by not
sending inconsistent TT TLVLs") added checks to the local (direct) TT
response code. But the response can also be done indirectly by another node
using the global TT state. To avoid such inconsistency states reported in
the original fix, also avoid sending empty VLANs for replies from the
global TT state.

Cc: stable@kernel.org
Fixes: 7ea7b4a14275 ("batman-adv: make the TT CRC logic VLAN specific")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/translation-table.c