diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-10 14:16:22 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-12-11 13:47:24 +0900 |
commit | b2219cc4b6a2832c29eb82e90625d9c6ac61e73c (patch) | |
tree | 5d1a081d25de467d9e4d7ffd17c56a829e31214a /src/network/networkd-address.c | |
parent | 239952e890fd4b53859f84bbc43d910e68a8f6bc (diff) | |
download | systemd-b2219cc4b6a2832c29eb82e90625d9c6ac61e73c.tar.gz |
network: drop assertions to check link state in netlink callback handlers
As, the link may be dropped while configuring addresses or routes.
Fixes #17920.
Diffstat (limited to 'src/network/networkd-address.c')
-rw-r--r-- | src/network/networkd-address.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-address.c b/src/network/networkd-address.c index 18eecf6c8a..59357a6b1c 100644 --- a/src/network/networkd-address.c +++ b/src/network/networkd-address.c @@ -932,8 +932,6 @@ static int address_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link) assert(link); assert(link->ifname); assert(link->address_messages > 0); - assert(IN_SET(link->state, LINK_STATE_CONFIGURING, - LINK_STATE_FAILED, LINK_STATE_LINGER)); link->address_messages--; |