aboutsummaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-08 19:58:23 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-15 09:32:00 -0500
commit5610c3aaf4196cf714fb9cb57118187963550d1c (patch)
tree815a42676a271d3f1e7ab53ced3944c3ce87f32f /savevm.c
parentdea7b3b95a0e6b88e0647e7afc8b6a7b5675fbb1 (diff)
net: use qtailq for vlan and client lists
Patchworks-ID: 35507 Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/savevm.c b/savevm.c
index 7a363b64d5..27a7686779 100644
--- a/savevm.c
+++ b/savevm.c
@@ -131,7 +131,7 @@ static void qemu_announce_self_once(void *opaque)
continue;
len = announce_self_create(buf, nd_table[i].macaddr);
vlan = nd_table[i].vlan;
- for(vc = vlan->first_client; vc != NULL; vc = vc->next) {
+ QTAILQ_FOREACH(vc, &vlan->clients, next) {
vc->receive(vc, buf, len);
}
}