X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fvport-patch.c;h=501eb7ad4577c71c7f05b92af18971bbf4dd0a00;hb=5ca1ba484bd9ade5116a49cf241cb98219d7d696;hp=0056792bcbdcff3e01ba88a9f4b3cc4da0209453;hpb=2a4999f3f33467f4fa22ed6e5b06350615fb2dac;p=sliver-openvswitch.git diff --git a/datapath/vport-patch.c b/datapath/vport-patch.c index 0056792bc..501eb7ad4 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 @@ -25,7 +25,6 @@ #include "compat.h" #include "datapath.h" #include "vport.h" -#include "vport-generic.h" struct patch_config { struct rcu_head rcu; @@ -233,7 +232,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; @@ -312,8 +311,5 @@ const struct vport_ops ovs_patch_vport_ops = { .get_addr = patch_get_addr, .get_options = patch_get_options, .set_options = patch_set_options, - .get_dev_flags = ovs_vport_gen_get_dev_flags, - .is_running = ovs_vport_gen_is_running, - .get_operstate = ovs_vport_gen_get_operstate, .send = patch_send, };