From: Sven Eckelmann Date: Mon, 20 Aug 2012 07:03:59 +0000 (+0200) Subject: batman-adv: Set special lockdep classes to avoid lockdep warning X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~536^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c1d1531130dcfadf845419fd15735b9b4c004f;p=pandora-kernel.git batman-adv: Set special lockdep classes to avoid lockdep warning Transmissions over batman-adv devices always start another nested transmission over devices attached to the batman-adv interface. These devices usually use the ethernet lockdep class for the tx_queue lock which is also set by default for all batman-adv devices. Lockdep will detect a nested locking attempt of two locks with the same class and warn about a possible deadlock. This is the default and expected behavior and should not alarm the locking correctness prove mechanism. Therefore, the locks for all netdevice specific tx queues get a special batman-adv lock class to avoid a false positive for each transmission. Reported-by: Linus Luessing Signed-off-by: Sven Eckelmann Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed