X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fvport-patch.c;h=d9e8970f4842ff66f3aef3c1d199261ba3205cc7;hb=3c82d0682ab7661d218545e9ba06e52f1cf44e43;hp=0056792bcbdcff3e01ba88a9f4b3cc4da0209453;hpb=2a4999f3f33467f4fa22ed6e5b06350615fb2dac;p=openvswitch diff --git a/datapath/vport-patch.c b/datapath/vport-patch.c index 0056792b..d9e8970f 100644 --- a/datapath/vport-patch.c +++ b/datapath/vport-patch.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 @@ -233,7 +233,7 @@ error: static void update_peers(struct net *net, const char *name, struct vport *vport) { - struct hlist_head *bucket = hash_bucket(ovs_dp_get_net(vport->dp), name); + struct hlist_head *bucket = hash_bucket(net, name); struct patch_vport *peer_vport; struct hlist_node *node;