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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 12 Dec 2022 11:56:44 +0800
From:   Hangbin Liu <>
Cc:     Jay Vosburgh <>,
        "David S . Miller" <>,
        Jakub Kicinski <>,
        Jonathan Toppins <>,
        Paolo Abeni <>,
        Eric Dumazet <>, liali <>,
        Saeed Mahameed <>,
        Hangbin Liu <>
Subject: [PATCH net 0/3] Bonding: fix high prio not effect issue

When a high prio link up, if there has current link, it will not do
failover as we missed the check in link up event. Fix it in this patchset
and add a prio option test case.

1. use rcu_access_pointer() instead of rtnl_dereference().
2: make do_failover after looping all slaves

Hangbin Liu (2):
  bonding: add missed __rcu annotation for curr_active_slave
  bonding: do failover when high prio link up

Liang Li (1):
  selftests: bonding: add bonding prio option test

 drivers/net/bonding/bond_main.c               |  24 +-
 .../selftests/drivers/net/bonding/Makefile    |   3 +-
 .../drivers/net/bonding/        | 245 ++++++++++++++++++
 3 files changed, 262 insertions(+), 10 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/bonding/


Powered by blists - more mailing lists