diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-08-20 09:03:59 +0200 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-10-29 09:42:32 +0100 |
commit | 36c1d1531130dcfadf845419fd15735b9b4c004f (patch) | |
tree | 7bb3d3253eed07d3d32cb51c00ad3a17e496543e /net/ipv4 | |
parent | c10dba051a3e287a4f023aaaeffa53fd642cf8c5 (diff) |
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 <linus.luessing@web.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions