]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stacked_netdevice_locking'
authorDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:15:23 +0000 (22:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 May 2014 02:15:23 +0000 (22:15 -0400)
commitc2f2da22da6eb055cede6c88e6e4848c36e99712
treeae8f0e7e20b1ea40d407991ed82d3bd2e1ae3445
parent36c52b966d59fe6221ccbca1864a6eb9b1a333d4
parent08584cb2eb92cbc8f7311a9c766d89fdd2c429bf
Merge branch 'stacked_netdevice_locking'

Vlad Yasevich says:

====================
Fix lockdep issues with stacked devices

Recent commit 0ef6115d8030f5f984a794efe81adb53b994543f
    vlan: Fix lockdep warning when vlan dev handle notification

attempted to solve lockdep issues with vlans where multiple
vlans were stacked.  However, the code does not work correctly
when the vlan stack is interspersed with other devices in between
the vlans.  Additionally, similar lockdep issues show up with other
devices.

This series provides a generic way to solve these issue for any
devices that can be stacked.  It also addresses the concern for
vlan and macvlan devices.  I am not sure whether it makes sense
to do so for other types like team, vxlan, and bond.

Thanks
-vlad

Since v2:
  - Remove rcu variants from patch1, since that function is called
    only under rtnl.
  - Fix whitespace problems reported by checkpatch

Since v1:
  - Fixed up a goofed-up rebase.
    * is_vlan_dev() should be bool and that change belongs in patch3.
    * patch4 should not have any vlan changes in it.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>