batman-adv: annotate functions which may reallocate the skbuff

When a function is called which reallocated the skbuff, it is necessary to
reacquire the pointers into the skb data. Otherwise they might cause an
use-after-free.

But is hard to identify such case when it is not clear that helpers are
actually using skb-reallocating functions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann 2026-06-28 08:12:51 +02:00
commit ed00ac0be8
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB
8 changed files with 101 additions and 5 deletions