]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFS r352565: SIOCSIFNAME: Do nothing if we're not actually changing
authorKyle Evans <kevans@FreeBSD.org>
Sat, 21 Sep 2019 01:39:49 +0000 (01:39 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Sat, 21 Sep 2019 01:39:49 +0000 (01:39 +0000)
commitea37c1610e0d41feef0a25169cc07df35c7246ea
tree1a49f5d6ed9a8efc341f92155da9abdb5916dfbc
parentd04faca30e1f1f418621d89853ad1c037c8ef132
MFS r352565: 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
Approved by: re (gjb)
sys/net/if.c