]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bonding-fix-bonding-interface-bugs'
authorDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:32:11 +0000 (19:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:32:11 +0000 (19:32 -0800)
commitb206e0eef830cb8774ee8ca76f422e971a1027cb
tree0b8b9e54a438eb7ec6bfe1e49c75a502cf6049e0
parentc9aabfbef7d8878cab68b627186800042d872b81
parentb34f2139bc8276769f2b22a13ad5f1f0b21aabfa
Merge branch 'bonding-fix-bonding-interface-bugs'

Taehee Yoo says:

====================
bonding: fix bonding interface bugs

This patchset fixes lockdep problem in bonding interface

1. The first patch is to add missing netdev_update_lockdep_key().
After bond_release(), netdev_update_lockdep_key() should be called.
But both ioctl path and attribute path don't call
netdev_update_lockdep_key().
This patch adds missing netdev_update_lockdep_key().

2. The second patch is to export netdev_next_lower_dev_rcu symbol.
netdev_next_lower_dev_rcu() is useful to implement the function,
which is to walk their all lower interfaces.
This patch is actually a preparing patch for the third patch.

3. The last patch is to fix lockdep waring in bond_get_stats().
The stats_lock uses a dynamic lockdep key.
So, after "nomaster" operation, updating the dynamic lockdep key
routine is needed. but it doesn't
So, lockdep warning occurs.

Change log:
v1 -> v2:
 - Update headline from "fix bonding interface bugs"
   to "bonding: fix bonding interface bugs"
 - Drop a patch("bonding: do not collect slave's stats")
 - Add new patches
   - ("net: export netdev_next_lower_dev_rcu()")
   - ("bonding: fix lockdep warning in bond_get_stats()")
====================

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