DORMANTno replies

[PATCH net 0/2] fix bonding interface bugs

From: Taehee Yoo <ap420073@gmail.com>
Date: 2020-02-13 19:20:47

This patchset fixes two bugs in bonding module

1. The first patch adds missing dynamic lockdep class key update routine.
After bond_release(), netdev_update_lockdep_key() should be called.
But both ioctl path and attribute path don't call
netdev_update_lockdep_key().

2. The second patch changes bonding stats routine
In the current code, bonding interface collects stats of slave interfaces
when dev_get_stats() is called.
But, this has several problems.
1. Possible imbalance lock/unlocking.
2. Show incorrect stats info.
So, this patch changes bonding interface stats routine.
In addition, it fixes lockdep warning.

Taehee Yoo (2):
  bonding: add missing netdev_update_lockdep_key()
  bonding: do not collect slave's stats

 drivers/net/bonding/bond_alb.c     |  14 +-
 drivers/net/bonding/bond_main.c    | 222 +++++++++++++++--------------
 drivers/net/bonding/bond_options.c |   2 +
 include/net/bond_alb.h             |   4 +-
 include/net/bonding.h              |  17 ++-
 5 files changed, 142 insertions(+), 117 deletions(-)

-- 
2.17.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help