projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearrange structures to better fit valgrind's memory leak heuristics.
[openvswitch]
/
lib
/
netdev-vport.c
diff --git
a/lib/netdev-vport.c
b/lib/netdev-vport.c
index 77b151d0981161e6d4b55983f971c962085216e6..7bd50a41c306c0fae5822ff3a3259805ee4bea82 100644
(file)
--- a/
lib/netdev-vport.c
+++ b/
lib/netdev-vport.c
@@
-458,7
+458,7
@@
netdev_vport_set_stats(struct netdev *netdev, const struct netdev_stats *stats)
}
static int
}
static int
-netdev_vport_get_
status
(const struct netdev *netdev, struct shash *sh)
+netdev_vport_get_
drv_info
(const struct netdev *netdev, struct shash *sh)
{
const char *iface = netdev_vport_get_tnl_iface(netdev);
{
const char *iface = netdev_vport_get_tnl_iface(netdev);
@@
-922,7
+922,6
@@
unparse_patch_config(const char *name OVS_UNUSED, const char *type OVS_UNUSED,
\
NULL, /* get_features */ \
NULL, /* set_advertisements */ \
\
NULL, /* get_features */ \
NULL, /* set_advertisements */ \
- NULL, /* get_vlan_vid */ \
\
NULL, /* set_policing */ \
NULL, /* get_qos_types */ \
\
NULL, /* set_policing */ \
NULL, /* get_qos_types */ \
@@
-953,15
+952,15
@@
netdev_vport_register(void)
{
static const struct vport_class vport_classes[] = {
{ OVS_VPORT_TYPE_GRE,
{
static const struct vport_class vport_classes[] = {
{ OVS_VPORT_TYPE_GRE,
- { "gre", VPORT_FUNCTIONS(netdev_vport_get_
status
) },
+ { "gre", VPORT_FUNCTIONS(netdev_vport_get_
drv_info
) },
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_GRE,
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_GRE,
- { "ipsec_gre", VPORT_FUNCTIONS(netdev_vport_get_
status
) },
+ { "ipsec_gre", VPORT_FUNCTIONS(netdev_vport_get_
drv_info
) },
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_CAPWAP,
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_CAPWAP,
- { "capwap", VPORT_FUNCTIONS(netdev_vport_get_
status
) },
+ { "capwap", VPORT_FUNCTIONS(netdev_vport_get_
drv_info
) },
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_PATCH,
parse_tunnel_config, unparse_tunnel_config },
{ OVS_VPORT_TYPE_PATCH,