summaryrefslogtreecommitdiffstats
path: root/lib/route/link.c
diff options
context:
space:
mode:
authorThomas Graf <tgr@plip.localdomain>2008-10-20 11:12:13 (GMT)
committerThomas Graf <tgr@plip.localdomain>2008-10-20 11:12:13 (GMT)
commitcfcfca070355b246028df60da79813f09ed65755 (patch)
treef61521813cc56aef4cfc0c6464cca9aa11b2fb2f /lib/route/link.c
parent2bdee95a765457fe4206b89d51974ae56e75c588 (diff)
downloadlibnl-cfcfca070355b246028df60da79813f09ed65755.zip
libnl-cfcfca070355b246028df60da79813f09ed65755.tar.gz
libnl-cfcfca070355b246028df60da79813f09ed65755.tar.bz2
Add internal wait_for_ack() which only waits for ACK if !NL_NO_AUTO_ACK
This changeset ensures that internal code properly synchronizes to ACKs if ACKs are enabled and otherwise return immediately.
Diffstat (limited to 'lib/route/link.c')
-rw-r--r--lib/route/link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/link.c b/lib/route/link.c
index d2ae816..cf488e5 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -956,7 +956,7 @@ int rtnl_link_change(struct nl_sock *sk, struct rtnl_link *old,
if (err < 0)
return err;
- return nl_wait_for_ack(sk);
+ return wait_for_ack(sk);
}
/** @} */