bonding: properly restore flags when non-eth dev enslave fails
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bonding: restore bond's IFF_SLAVE flag if a non-eth dev enslave failsdrivers/ | +7 | 0 replies | |
| 2/2 | selftests: rtnetlink: add a bond test trying to enslave non-eth devtools/ | +36 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/2] bonding: properly restore flags when non-eth dev enslave fails
Hi,
A bug was reported by syzbot[1] that causes a warning and a myriad of other potential issues if a bond that is also a slave fails to enslave a non-eth device. Patch 01 fixes the bug and patch 02 adds a selftest for bond flags restoration in such cases. For more information please see commit descriptions.
Thanks,
Nik
[1] https://syzkaller.appspot.com/bug?id=391c7b1f6522182899efba27d891f1743e8eb3ef
Nikolay Aleksandrov (2):
bonding: restore bond's IFF_SLAVE flag if a non-eth dev
enslave fails
selftests: rtnetlink: add a bond test trying to enslave non-eth dev
drivers/net/bonding/bond_main.c | 8 +++++- tools/testing/selftests/net/rtnetlink.sh | 36 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.2