diff options
author | Ethan Jackson <ethan@nicira.com> | 2011-09-15 11:23:08 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2011-09-16 11:22:30 -0700 |
commit | 18a237816419e6f88ab0383b43d8060914d26a9a (patch) | |
tree | 4db49a77f8c2a47cde1f1d4ca1f9a6f6b05fdc35 /vswitchd/ovs-brcompatd.c | |
parent | c3b07057fd7f02b4e6bb006bcecff8683237778e (diff) |
notifiers: Rename run and wait functions.
It makes more sense to call nln_notifier_run() and
nln_notifier_wait() simply nln_run() and nln_wait() since they
don't operate on notifiers but the entire nln object. This patch
changes the nln and the rtnetlink-link modules to the new
convention.
Diffstat (limited to 'vswitchd/ovs-brcompatd.c')
-rw-r--r-- | vswitchd/ovs-brcompatd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index bfa13ca2..df2b75da 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -724,7 +724,7 @@ brc_recv_update(void) * (XenServer Tools 5.5.0 does not exhibit this behavior, and neither does * a VM without Tools installed at all.) */ - rtnetlink_link_notifier_run(); + rtnetlink_link_run(); switch (genlmsghdr->cmd) { case BRC_GENL_C_DP_ADD: @@ -830,14 +830,14 @@ main(int argc, char *argv[]) for (;;) { unixctl_server_run(unixctl); - rtnetlink_link_notifier_run(); + rtnetlink_link_run(); brc_recv_update(); netdev_run(); nl_sock_wait(brc_sock, POLLIN); unixctl_server_wait(unixctl); - rtnetlink_link_notifier_wait(); + rtnetlink_link_wait(); netdev_wait(); poll_block(); } |