batman-adv: Remove vis info on hashing errors
authorSven Eckelmann <sven@narfation.org>
Fri, 28 Jan 2011 17:34:05 +0000 (18:34 +0100)
committerSven Eckelmann <sven@narfation.org>
Sun, 30 Jan 2011 09:32:02 +0000 (10:32 +0100)
commit2674c15870f888cb732a564fc504ce17654afc64
tree98ae97713077307ee1f56ec5de362b53f8e3186d
parentdd58ddc6928f711d8fb7101182215a0f23cf41f1
batman-adv: Remove vis info on hashing errors

A newly created vis info object must be removed when it couldn't be
added to the hash. The old_info which has to be replaced was already
removed and isn't related to the hash anymore.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/vis.c