]> git.karo-electronics.de Git - linux-beck.git/commit
batman-adv: Only use int up and down gw representation
authorSven Eckelmann <sven@narfation.org>
Sat, 14 May 2011 21:14:51 +0000 (23:14 +0200)
committerSven Eckelmann <sven@narfation.org>
Mon, 30 May 2011 05:39:32 +0000 (07:39 +0200)
commit37a4065ec79dcf172c44cb2741c1b9983ecfc492
treec147618cee2f3743ab34ae8195da490a7e73c266
parent747e4221a03cde62402b614ca1f8e961b8416130
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>
net/batman-adv/gateway_common.c