Page MenuHomeFreeBSD

netgraph/ng_base: Renaming a node to the same name is a noop
ClosedPublic

Authored by donner on May 4 2021, 7:27 PM.
Tags
None
Referenced Files
F109358150: D30110.diff
Tue, Feb 4, 12:39 AM
Unknown Object (File)
Sat, Feb 1, 7:06 AM
Unknown Object (File)
Thu, Jan 30, 5:31 PM
Unknown Object (File)
Thu, Jan 30, 5:21 PM
Unknown Object (File)
Sat, Jan 25, 8:04 PM
Unknown Object (File)
Sat, Jan 25, 7:51 PM
Unknown Object (File)
Oct 20 2024, 1:37 PM
Unknown Object (File)
Oct 18 2024, 9:40 PM

Details

Summary

Detailed analysis in https://github.com/genneko/freebsd-vimage-jails/issues/2
brought the problem down to a double call of ng_node_name() before and
after a vnet move. Because the name of the node is already known
(occupied by itself), the second call fails.

PR: 241954
Reported by: Paul Armstrong
MFC: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39006
Build 35895: arc lint + arc unit

Event Timeline

donner requested review of this revision.May 4 2021, 7:27 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 4 2021, 9:22 AM
This revision was automatically updated to reflect the committed changes.