From: Jiri Pirko Date: Mon, 9 Jan 2012 06:36:54 +0000 (+0000) Subject: net: introduce netif_addr_lock_nested() and call if when appropriate X-Git-Tag: v3.3-rc1~134^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2429f7ac2ef429378536d87fcbbf6f424aa5b47f;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed