Commit fd0ea7db authored by YOSHIFUJI Hideaki's avatar YOSHIFUJI Hideaki Committed by David S. Miller

ndisc: Unexport ndisc_{build,send}_skb().

These symbols were exported for bonding device by commit 305d552a
("bonding: send IPv6 neighbor advertisement on failover").

It bacame obsolete by commit 7c899432 ("bonding, ipv4, ipv6, vlan: Handle
NETDEV_BONDING_FAILOVER like NETDEV_NOTIFY_PEERS") and removed by
commit 4f5762ec ("bonding: Remove obsolete source file 'bond_ipv6.c'").
Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 895464fa
...@@ -190,21 +190,6 @@ extern void ndisc_send_redirect(struct sk_buff *skb, ...@@ -190,21 +190,6 @@ extern void ndisc_send_redirect(struct sk_buff *skb,
extern int ndisc_mc_map(const struct in6_addr *addr, char *buf, extern int ndisc_mc_map(const struct in6_addr *addr, char *buf,
struct net_device *dev, int dir); struct net_device *dev, int dir);
extern struct sk_buff *ndisc_build_skb(struct net_device *dev,
const struct in6_addr *daddr,
const struct in6_addr *saddr,
struct icmp6hdr *icmp6h,
const struct in6_addr *target,
int llinfo);
extern void ndisc_send_skb(struct sk_buff *skb,
struct net_device *dev,
struct neighbour *neigh,
const struct in6_addr *daddr,
const struct in6_addr *saddr,
struct icmp6hdr *icmp6h);
/* /*
* IGMP * IGMP
......
...@@ -370,7 +370,7 @@ static void pndisc_destructor(struct pneigh_entry *n) ...@@ -370,7 +370,7 @@ static void pndisc_destructor(struct pneigh_entry *n)
ipv6_dev_mc_dec(dev, &maddr); ipv6_dev_mc_dec(dev, &maddr);
} }
struct sk_buff *ndisc_build_skb(struct net_device *dev, static struct sk_buff *ndisc_build_skb(struct net_device *dev,
const struct in6_addr *daddr, const struct in6_addr *daddr,
const struct in6_addr *saddr, const struct in6_addr *saddr,
struct icmp6hdr *icmp6h, struct icmp6hdr *icmp6h,
...@@ -431,10 +431,7 @@ struct sk_buff *ndisc_build_skb(struct net_device *dev, ...@@ -431,10 +431,7 @@ struct sk_buff *ndisc_build_skb(struct net_device *dev,
return skb; return skb;
} }
EXPORT_SYMBOL(ndisc_build_skb); static void ndisc_send_skb(struct sk_buff *skb, struct net_device *dev,
void ndisc_send_skb(struct sk_buff *skb,
struct net_device *dev,
struct neighbour *neigh, struct neighbour *neigh,
const struct in6_addr *daddr, const struct in6_addr *daddr,
const struct in6_addr *saddr, const struct in6_addr *saddr,
...@@ -473,8 +470,6 @@ void ndisc_send_skb(struct sk_buff *skb, ...@@ -473,8 +470,6 @@ void ndisc_send_skb(struct sk_buff *skb,
rcu_read_unlock(); rcu_read_unlock();
} }
EXPORT_SYMBOL(ndisc_send_skb);
/* /*
* Send a Neighbour Discover packet * Send a Neighbour Discover packet
*/ */
......
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