lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200213192035.15942-1-ap420073@gmail.com>
Date:   Thu, 13 Feb 2020 19:20:34 +0000
From:   Taehee Yoo <ap420073@...il.com>
To:     davem@...emloft.net, kuba@...nel.org, j.vosburgh@...il.com,
        vfalico@...il.com, andy@...yhouse.net, netdev@...r.kernel.org
Cc:     ap420073@...il.com
Subject: [PATCH net 0/2] fix bonding interface bugs

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ