HomeFreeBSD

SIOCSIFNAME: Do nothing if we're not actually changing

Description

SIOCSIFNAME: Do nothing if we're not actually changing

Instead of throwing EEXIST, just succeed if the name isn't actually
changing. We don't need to trigger departure or any of that because there's
no change from consumers' perspective.

PR: 240539
Reviewed by: brooks
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D21618

Details

Provenance
kevansAuthored on
Reviewer
brooks
Differential Revision
D21618: SIOCSIFNAME: Do nothing if we're not actually changing
Parents
rS352245: Follow up r352244: kenv: tighten up assertions
Branches
Unknown
Tags
Unknown