| Summary: | lagg(4): Upping a lagg interrface should automatically up its children | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Alan Somers <asomers> | ||||
| Component: | kern | Assignee: | freebsd-net (Nobody) <net> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | eugen, glebius, ken, vvd | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Alan Somers
2018-02-23 17:46:17 UTC
Created attachment 190920 [details]
Allow setting MTU on children and automatically up/down children
Here's a patch that adds the feature, but it still needs a little work to build on head.
lagg_if_updown() function can "restart" its main loop. How it is guaranteed that it won't do it endlessly? A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=570685971c6ad30c75103453a38fdb2dff432bef commit 570685971c6ad30c75103453a38fdb2dff432bef Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2024-05-06 22:25:53 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-05-06 22:27:32 +0000 lagg: propagate up/down to the children Based on the old submission from asomers@. With modern state of locking in lagg(4), the patch got much simplier. Enable the test that was waiting for this change. PR: 226144 Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D44605 sys/net/if_lagg.c | 24 ++++++++++++++++++++++++ tests/sys/net/if_lagg_test.sh | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) Gleb, what about MTU? Thanks for finishing this, Gleb! |