mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
dea7b3b95a
commit
5610c3aaf4
3 changed files with 63 additions and 63 deletions
2
savevm.c
2
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue