Bug 226144 - lagg(4): Upping a lagg interrface should automatically up its children
Summary: lagg(4): Upping a lagg interrface should automatically up its children
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-02-23 17:46 UTC by Alan Somers
Modified: 2018-02-27 17:04 UTC (History)
2 users (show)

See Also:


Attachments
Allow setting MTU on children and automatically up/down children (4.78 KB, patch)
2018-02-23 17:51 UTC, Alan Somers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Somers freebsd_committer freebsd_triage 2018-02-23 17:46:17 UTC
More of a feature request than a bug.  But it would be nice for upping/downing a lagg interface to automatically up/down its children.
Comment 1 Alan Somers freebsd_committer freebsd_triage 2018-02-23 17:51:40 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.
Comment 2 Eugene Grosbein freebsd_committer freebsd_triage 2018-02-27 17:04:28 UTC
lagg_if_updown() function can "restart" its main loop. How it is guaranteed that it won't do it endlessly?