2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

datapath: Dont export get_dp().

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@jessegross.com>
This commit is contained in:
Pravin B Shelar
2011-11-16 16:52:24 -08:00
parent be2ba15681
commit df2a06abbe
2 changed files with 1 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ static int queue_userspace_packet(int dp_ifindex, struct sk_buff *,
const struct dp_upcall_info *);
/* Must be called with rcu_read_lock, genl_mutex, or RTNL lock. */
struct datapath *get_dp(int dp_ifindex)
static struct datapath *get_dp(int dp_ifindex)
{
struct datapath *dp = NULL;
struct net_device *dev;
@@ -111,7 +111,6 @@ struct datapath *get_dp(int dp_ifindex)
return dp;
}
EXPORT_SYMBOL_GPL(get_dp);
/* Must be called with genl_mutex. */
static struct flow_table *get_table_protected(struct datapath *dp)

View File

@@ -140,7 +140,6 @@ void dp_detach_port(struct vport *);
int dp_upcall(struct datapath *, struct sk_buff *,
const struct dp_upcall_info *);
struct datapath *get_dp(int dp_idx);
const char *dp_name(const struct datapath *dp);
struct sk_buff *ovs_vport_cmd_build_info(struct vport *, u32 pid, u32 seq,
u8 cmd);