-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
network: introduce multipath routing #14194
network: introduce multipath routing #14194
Conversation
507516b
to
1ad1351
Compare
Thanks for working on it. Let's review this after 244. I am working on openvswitch integration. |
3fba607
to
beb2d2d
Compare
Look almost good . CI is failing.
|
beb2d2d
to
5716937
Compare
@ssahani Thank you for the review. I addressed your comments except for the one about the debug log. And now I added a test for the case that IPv4 destination with IPv6 gateways ( |
LGTM |
9bb06b9
to
a2e3092
Compare
a2e3092
to
198fa4f
Compare
198fa4f
to
cbd21a7
Compare
@poettering Thank you for the review. I've force-pushed a revised version. Now I hope all your comments are addressed. PTAL. |
Almost there:
Possibly relevant full coredump from CentOS 7: https://ci.centos.org/job/systemd-pr-build/9232/artifact//systemd-centos-ci/artifacts_I6h7a0/testsuite-logs-upstream.hSQ/coredumpctl_collect_FAIL.log |
cbd21a7
to
e3d8dcd
Compare
@mrc0mmand Thank you for catching the issue. It is now fixed. PTAL. |
It will be used in later commit.
e3d8dcd
to
a0ce990
Compare
|
||
void rtattr_append_attribute_internal(struct rtattr *rta, unsigned short type, const void *data, size_t data_length) { | ||
size_t padding_length; | ||
char *padding; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't matter much, but to me "char" indicates this was actually character data... I'd always use "uint8_t" for this, since these are "arbitrary padding bytes"
CI issue appears unrelated. Merging. |
bit late maybe but its not entirely clear how this is supposed to work at all. That's not.. "multi" path? the test also indicates this only works when both routes are on the same link, but whats the point of that |
The setting can take another interface name. Though, actually it is not tested.
Could you open a new issue page with more details? |
Closes #12541.
Replaces #14063.
cc @ssahani and @n0rad.