/*
- * Palacios VNET Host Bridge
- * (c) Lei Xia 2010
- */
-
+ * Palacios VNET Host Bridge
+ * (c) Lei Xia 2010
+ */
#include <linux/spinlock.h>
#include <linux/seq_file.h>
}
static void deinit_links_list(void){
- struct vnet_link * link;
+ struct vnet_link * link, * tmp_link;
- list_for_each_entry(link, &(vnet_brg_s.link_list), node) {
+ list_for_each_entry_safe(link, tmp_link, &(vnet_brg_s.link_list), node) {
_delete_link(link);
}
}
vnet_brg_s.stats.pkt_to_vmm ++;
- return v3_vnet_send_pkt(&pkt, NULL, 1);
+ return v3_vnet_send_pkt(&pkt, NULL);
}
return -1;
}
- vnet_brg_s.serv_thread = kthread_run(_rx_server, NULL, "vnet-server");
+ vnet_brg_s.serv_thread = kthread_run(_rx_server, NULL, "vnet_brgd");
bridge_ops.input = bridge_send_pkt;
bridge_ops.poll = NULL;