Bug 89161
Summary: | Regression in bonding driver with devices that have no MAC address | ||
---|---|---|---|
Product: | Networking | Reporter: | Toby Corkindale (tjc) |
Component: | Other | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | normal | CC: | alan, dingtianhong, szg00000, tjc |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.2.3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | Patch that resolves issue for me |
Description
Toby Corkindale
2014-12-02 10:14:56 UTC
This is best also reported to netdev@vger.kernel.org by email Hi, just checking in to see if anyone's looked at this.. have seen there's been a bunch of commits to the bonding driver since July 15 but the bit of relevant code still looks the same. I don't think it is a bug for kernel for 3.17, the fail_over_mac should only valid for bond AB mode, you could not change the mode when the slave is not support setting mac, the right solution is return err and set the right mode and then try again. Ah, but the error appears regardless of bond mode -- in my example above, I'm using balance-rr. The error is returned regardless of me using "none", "active" or "follow" for fail_over_mac. Just thought I'd drop in and mention that the regression/bug/issue is still present on kernel 4.2.3. I do note that the code path to add slaves clearly looks like it should let the slave in with a warning only, but actually attempting this on a machine results in a failure and no slaves listed. Created attachment 192041 [details]
Patch that resolves issue for me
I suspect this simple patch isn't of sufficient quality to use directly, but.. it works for me.
|