diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-01-09 06:36:54 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-09 12:46:58 -0800 |
commit | 2429f7ac2ef429378536d87fcbbf6f424aa5b47f (patch) | |
tree | 15e0fd0c42f6e10ede9f1cf84553c2a01e593d81 /net/can | |
parent | ab16ebf375f0513d6b0f5193de84186a3fc0c33b (diff) | |
download | linux-2429f7ac2ef429378536d87fcbbf6f424aa5b47f.tar.gz linux-2429f7ac2ef429378536d87fcbbf6f424aa5b47f.tar.bz2 linux-2429f7ac2ef429378536d87fcbbf6f424aa5b47f.zip |
net: introduce netif_addr_lock_nested() and call if when appropriate
dev_uc_sync() and dev_mc_sync() are acquiring netif_addr_lock for
destination device of synchronization. Since netif_addr_lock is
already held at the time for source device, this triggers lockdep
deadlock warning.
There's no way this deadlock can happen so use spin_lock_nested() to
silence the warning.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions