]> git.baikalelectronics.ru Git - kernel.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)
commitcb9bbbffd0d483c1349d57f4bd14dc2942e49288
treec147618cee2f3743ab34ae8195da490a7e73c266
parent23fe9554400032c2eec179d7e708e4d1a2a94edb
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