On Monday, August 20, 2012 09:03:59 Sven Eckelmann wrote:
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 Lüssing linus.luessing@web.de Signed-off-by: Sven Eckelmann sven@narfation.org
- fixed comment style
- fixed commit message
soft-interface.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
Applied in revision e27bb6f.
Thanks, Marek