batman-adv: remove references for global tt entries
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Wed, 19 Oct 2011 09:02:25 +0000 (11:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Nov 2011 17:08:39 +0000 (09:08 -0800)
commit7766f4ed0b29204dc9248dea3bc547a8c93d18cb
tree37604d959014d421d7e2aee6e4467101012c45af
parent02460fcf18a10059eb52a223cc62d7d9b43ac3c0
batman-adv: remove references for global tt entries

commit 531027fcddbcf81c9937dd04f08a7e8f11fd47d2 upstream.

struct tt_global_entry holds a reference to an orig_node which must be
decremented before deallocating the structure.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Tested-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/batman-adv/translation-table.c