Bug 226144

Summary: lagg(4): Upping a lagg interrface should automatically up its children
Product: Base System Reporter: Alan Somers <asomers>
Component: kernAssignee: freebsd-net (Nobody) <net>
Status: New ---    
Severity: Affects Some People CC: eugen, ken
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Allow setting MTU on children and automatically up/down children none

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?