HomeFreeBSD

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

Description

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

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
Differential Revision: https://reviews.freebsd.org/D30110

(cherry picked from commit 0345fd891fe13a191fc0fae9463ea9458bfaff5a)

Details

Provenance
donnerAuthored on May 4 2021, 7:20 PM
Differential Revision
D30110: netgraph/ng_base: Renaming a node to the same name is a noop
Parents
rG6fab8f9b8ae7: Get rid of i386 ref here as linux64 is a 64-bit module.
Branches
Unknown
Tags
Unknown