mirror of
https://github.com/systemd/systemd
synced 2024-10-14 12:04:49 +00:00
parent
bbcd088031
commit
a140eaf16a
|
@ -486,7 +486,7 @@ static int link_is_ready_to_set_link(Link *link, Request *req) {
|
|||
return link->bridge_vlan_set;
|
||||
|
||||
case REQUEST_TYPE_SET_LINK_CAN:
|
||||
/* Do not check link->set_flgas_messages here, as it is ok even if link->flags
|
||||
/* Do not check link->set_flags_messages here, as it is ok even if link->flags
|
||||
* is outdated, and checking the counter causes a deadlock. */
|
||||
if (FLAGS_SET(link->flags, IFF_UP)) {
|
||||
/* The CAN interface must be down to configure bitrate, etc... */
|
||||
|
@ -533,7 +533,7 @@ static int link_is_ready_to_set_link(Link *link, Request *req) {
|
|||
return false;
|
||||
m = link->network->bond->ifindex;
|
||||
|
||||
/* Do not check link->set_flgas_messages here, as it is ok even if link->flags
|
||||
/* Do not check link->set_flags_messages here, as it is ok even if link->flags
|
||||
* is outdated, and checking the counter causes a deadlock. */
|
||||
if (FLAGS_SET(link->flags, IFF_UP)) {
|
||||
/* link must be down when joining to bond master. */
|
||||
|
|
Loading…
Reference in a new issue