X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fvport.c;h=172261aa58985b010142d17d6310bc142380d9c2;hb=8faa5a21738f4d47c630c24a3bcf177eb34ce705;hp=d81f6869c60ec475082b5627b49b9781d9d119ca;hpb=2a4999f3f33467f4fa22ed6e5b06350615fb2dac;p=openvswitch diff --git a/datapath/vport.c b/datapath/vport.c index d81f6869..172261aa 100644 --- a/datapath/vport.c +++ b/datapath/vport.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007-2012 Nicira Networks. + * Copyright (c) 2007-2012 Nicira, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -192,6 +192,7 @@ struct vport *ovs_vport_alloc(int priv_size, const struct vport_ops *ops, vport->port_no = parms->port_no; vport->upcall_pid = parms->upcall_pid; vport->ops = ops; + INIT_HLIST_NODE(&vport->dp_hash_node); /* Initialize kobject for bridge. This will be added as * /sys/class/net//brport later, if sysfs is enabled. */