mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
batman-adv: Only use int up and down gw representation
It is not save to provide memory for an int and then cast the pointer to it to long*. It is better to standardize the up and down gateway bandwith representation to simple ints and only use long inside conversation routines. Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
747e4221a0
commit
37a4065ec7
1 changed files with 10 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue