-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ATTN: parse/bonds: handle same primary in multiple bonds (#451)
* ATTN: parse/bonds: handle same primary in multiple bonds Error out if an interface is declared as primary of multiple bonds. Besides being wrong it's causing a memory leak. ATTN: as this makes the parser stricter, it probably should not be included in backports/SRUs. Consider converting the error to a warning and freeing the memory allocation to avoid the leak. * parse/bond: identify bond assigned to primary Look for the bond that already has the primary member assigned and identify it in the error message.
- Loading branch information
1 parent
dca7227
commit 7e22e6f
Showing
4 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters