network: refuse to configure link properties when in initialized state
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Feb 2022 02:15:01 +0000 (11:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 11 Mar 2022 05:20:31 +0000 (14:20 +0900)
commita48ffe47cf1db98694d2013bf97f62f55e4c3d27
treebae936eb55730ff47891f0141a407ca0a31a21b6
parente51928640720bb9e1464203ab50625afe6a7523f
network: refuse to configure link properties when in initialized state

The condition should be satisfied only when users request to reconfigure
the link, and in that case, all request will be cancelled. Hence, it is
not necessary to process the request.
src/network/networkd-setlink.c