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
F170690322: D30110.diff
Sun, Sep 6, 1:20 AM
F170607275: D30110.id90397.diff
Sat, Sep 5, 3:07 PM
Unknown Object (File)
Fri, Sep 4, 4:58 AM
Unknown Object (File)
Wed, Sep 2, 9:02 AM
Unknown Object (File)
Wed, Sep 2, 1:06 AM
Unknown Object (File)
Tue, Sep 1, 4:41 PM
Unknown Object (File)
Sun, Aug 30, 11:31 PM
Unknown Object (File)
Sun, Aug 30, 5:17 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.