projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofp-util: New function for parsing key-value pairs.
[openvswitch]
/
datapath
/
vport-internal_dev.c
diff --git
a/datapath/vport-internal_dev.c
b/datapath/vport-internal_dev.c
index 8cb70834464a8b3d43ff527ace4219112f71cdd0..82079bd1102c65ec6fd95afcfa331c62739fa983 100644
(file)
--- a/
datapath/vport-internal_dev.c
+++ b/
datapath/vport-internal_dev.c
@@
-230,7
+230,7
@@
error:
return ERR_PTR(err);
}
return ERR_PTR(err);
}
-static
int
internal_dev_destroy(struct vport *vport)
+static
void
internal_dev_destroy(struct vport *vport)
{
struct netdev_vport *netdev_vport = netdev_vport_priv(vport);
{
struct netdev_vport *netdev_vport = netdev_vport_priv(vport);
@@
-239,8
+239,6
@@
static int internal_dev_destroy(struct vport *vport)
/* unregister_netdevice() waits for an RCU grace period. */
unregister_netdevice(netdev_vport->dev);
/* unregister_netdevice() waits for an RCU grace period. */
unregister_netdevice(netdev_vport->dev);
-
- return 0;
}
static int internal_dev_recv(struct vport *vport, struct sk_buff *skb)
}
static int internal_dev_recv(struct vport *vport, struct sk_buff *skb)
@@
-285,7
+283,6
@@
const struct vport_ops internal_vport_ops = {
.is_running = netdev_is_running,
.get_operstate = netdev_get_operstate,
.get_ifindex = netdev_get_ifindex,
.is_running = netdev_is_running,
.get_operstate = netdev_get_operstate,
.get_ifindex = netdev_get_ifindex,
- .get_iflink = netdev_get_iflink,
.get_mtu = netdev_get_mtu,
.send = internal_dev_recv,
};
.get_mtu = netdev_get_mtu,
.send = internal_dev_recv,
};