batman-adv: Initialize lockdep class keys for hashes
authorSven Eckelmann <sven@narfation.org>
Thu, 29 Mar 2012 10:38:20 +0000 (12:38 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 18 Jun 2012 16:00:57 +0000 (18:00 +0200)
The hash for claim and backbone hash in the bridge loop avoidance code receive
the same key because they are getting initialized by hash_new with the same
key. Lockdep will create a backtrace when they are used recursively. This can
be avoided by reinitializing the key directly after the hash_new.

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

Simple merge
Simple merge