net: bonding: Apply several bug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | Revert "net: bonding: fix use-after-free in bond_xmit_broadcast()"drivers/ | +4 | 0 replies | |
| 2/7 | net: bonding: add broadcast_neighbor option for 802.3adDocumentation/ drivers/ drivers/ +2 more | +112 | 0 replies | |
| 3/7 | bonding: add support for per-port LACP actor priorityDocumentation/ drivers/ drivers/ +4 more | +68 | 0 replies | |
| 4/7 | bonding: print churn state via netlinkdrivers/ include/ | +11 | 0 replies | |
| 5/7 | bonding: 3ad: implement proper RCU rules for port->aggregatordrivers/ drivers/ drivers/ +3 more | +89 | 0 replies | |
| 6/7 | net: bonding: fix use-after-free in bond_xmit_broadcast()drivers/ | +1 | 0 replies | |
| 7/7 | bonding: fix NULL pointer dereference in actor_port_prio settingdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 6.12 0/7] net: bonding: Apply several bug fixes
This series applies three bug fixes:
2884bf72fb8f ("net: bonding: fix use-after-free in bond_xmit_broadcast()") c4f050ce06c5 ("bonding: 3ad: implement proper RCU rules for port->aggregator") 067bf016e99a ("bonding: fix NULL pointer dereference in actor_port_prio setting")
These have already been applied to the 6.1 and 6.6 stable trees, but the data race fix c4f050ce06c5 ("bonding: 3ad: implement proper RCU rules for port->aggregator") was omitted for 6.12 because it has a dependency which conflicts with the version of 2884bf72fb8f ("net:
bonding: fix use-after-free in bond_xmit_broadcast()") that was applied to 6.12. This series reverts the conflicting version of the UAF fix, applies the required series for c4f050ce06c5, and then applies the simpler, original version of the UAF fix that was applied to the other stable trees.
It is also necessary to take 067bf016e99a ("bonding: fix NULL pointer dereference in actor_port_prio setting") since it fixes a bug introduced in 6b6dc81ee7e8 ("bonding: add support for per-port LACP actor priority"), one of the stable deps of c4f050ce06c5 ("bonding: 3ad:
implement proper RCU rules for port->aggregator").
Tested by compiling.
Eric Dumazet (1):
bonding: 3ad: implement proper RCU rules for port->aggregator
Hangbin Liu (3):
bonding: add support for per-port LACP actor priority
bonding: print churn state via netlink
bonding: fix NULL pointer dereference in actor_port_prio setting
Kevin Berry (1):
Revert "net: bonding: fix use-after-free in bond_xmit_broadcast()"
Tonghao Zhang (1):
net: bonding: add broadcast_neighbor option for 802.3ad
Xiang Mei (1):
net: bonding: fix use-after-free in bond_xmit_broadcast()
Documentation/networking/bonding.rst | 15 ++++ drivers/net/bonding/bond_3ad.c | 113 ++++++++++++++----------- drivers/net/bonding/bond_main.c | 66 +++++++++++++-- drivers/net/bonding/bond_netlink.c | 37 +++++++- drivers/net/bonding/bond_options.c | 71 ++++++++++++++++ drivers/net/bonding/bond_procfs.c | 3 +- drivers/net/bonding/bond_sysfs_slave.c | 17 ++-- include/net/bond_3ad.h | 3 +- include/net/bond_options.h | 2 + include/net/bonding.h | 3 + include/uapi/linux/if_link.h | 3 + 11 files changed, 265 insertions(+), 68 deletions(-)
base-commit: 1d3a00d3bacff25652c96e1527610c69e91f7c38
Signature · 1 line
2.54.0.1136.gdb2ca164c4-goog