]> 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)
commitc1b1ab303fe56cb8a32d800fa33e14ed4953fa68
treeae8f0e7e20b1ea40d407991ed82d3bd2e1ae3445
parent95cee1fb5c72ce6ce76108f67df411234777f77b
parent72bc88748a928f0247340b8c39b667682e3264aa
Merge branch 'stacked_netdevice_locking'

Vlad Yasevich says:

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

Recent commit a35767c552ff25daef8620ec4f327c05cbcc4cbc
    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>