diff options
Diffstat (limited to 'net/openvswitch/datapath.c')
| -rw-r--r-- | net/openvswitch/datapath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index 61ae3b86a995..df4692826ead 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c | |||
| @@ -132,7 +132,7 @@ static struct datapath *get_dp(struct net *net, int dp_ifindex) | |||
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | /* Must be called with rcu_read_lock or ovs_mutex. */ | 134 | /* Must be called with rcu_read_lock or ovs_mutex. */ |
| 135 | const char *ovs_dp_name(const struct datapath *dp) | 135 | static const char *ovs_dp_name(const struct datapath *dp) |
| 136 | { | 136 | { |
| 137 | struct vport *vport = ovs_vport_ovsl_rcu(dp, OVSP_LOCAL); | 137 | struct vport *vport = ovs_vport_ovsl_rcu(dp, OVSP_LOCAL); |
| 138 | return vport->ops->get_name(vport); | 138 | return vport->ops->get_name(vport); |
| @@ -1466,7 +1466,7 @@ struct genl_family dp_vport_genl_family = { | |||
| 1466 | .parallel_ops = true, | 1466 | .parallel_ops = true, |
| 1467 | }; | 1467 | }; |
| 1468 | 1468 | ||
| 1469 | struct genl_multicast_group ovs_dp_vport_multicast_group = { | 1469 | static struct genl_multicast_group ovs_dp_vport_multicast_group = { |
| 1470 | .name = OVS_VPORT_MCGROUP | 1470 | .name = OVS_VPORT_MCGROUP |
| 1471 | }; | 1471 | }; |
| 1472 | 1472 | ||
