batman-adv: return proper value in case of hash_add failure
authorAntonio Quartulli <ordex@autistici.org>
Sat, 11 Aug 2012 09:11:00 +0000 (11:11 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:31 +0000 (09:42 +0100)
In case of hash_add failure tt_global_add() must return 0 (which means on entry
insertion).

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/translation-table.c

Simple merge