Commit 7195cf72 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

arp: make arp_invalidate static

Don't export arp_invalidate, only used in arp.c
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9cb6b6e
...@@ -62,6 +62,5 @@ struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, ...@@ -62,6 +62,5 @@ struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
const unsigned char *src_hw, const unsigned char *src_hw,
const unsigned char *target_hw); const unsigned char *target_hw);
void arp_xmit(struct sk_buff *skb); void arp_xmit(struct sk_buff *skb);
int arp_invalidate(struct net_device *dev, __be32 ip);
#endif /* _ARP_H */ #endif /* _ARP_H */
...@@ -1112,7 +1112,7 @@ static int arp_req_get(struct arpreq *r, struct net_device *dev) ...@@ -1112,7 +1112,7 @@ static int arp_req_get(struct arpreq *r, struct net_device *dev)
return err; return err;
} }
int arp_invalidate(struct net_device *dev, __be32 ip) static int arp_invalidate(struct net_device *dev, __be32 ip)
{ {
struct neighbour *neigh = neigh_lookup(&arp_tbl, &ip, dev); struct neighbour *neigh = neigh_lookup(&arp_tbl, &ip, dev);
int err = -ENXIO; int err = -ENXIO;
...@@ -1127,7 +1127,6 @@ int arp_invalidate(struct net_device *dev, __be32 ip) ...@@ -1127,7 +1127,6 @@ int arp_invalidate(struct net_device *dev, __be32 ip)
return err; return err;
} }
EXPORT_SYMBOL(arp_invalidate);
static int arp_req_delete_public(struct net *net, struct arpreq *r, static int arp_req_delete_public(struct net *net, struct arpreq *r,
struct net_device *dev) struct net_device *dev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment