]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/ipv6/ndisc.c
vxlan: add ipv6 proxy support
[karo-tx-linux.git] / net / ipv6 / ndisc.c
index 41720feeaa6473625c74b9f39d9a91fe90dde6c0..14bd2f9d9dbbbcc9653c6bfb43a4c70827c04741 100644 (file)
@@ -428,7 +428,6 @@ static void ndisc_send_skb(struct sk_buff *skb,
        type = icmp6h->icmp6_type;
 
        if (!dst) {
-               struct sock *sk = net->ipv6.ndisc_sk;
                struct flowi6 fl6;
 
                icmpv6_flow_init(sk, &fl6, type, saddr, daddr, skb->dev->ifindex);
@@ -462,10 +461,10 @@ static void ndisc_send_skb(struct sk_buff *skb,
        rcu_read_unlock();
 }
 
-static void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
-                         const struct in6_addr *daddr,
-                         const struct in6_addr *solicited_addr,
-                         bool router, bool solicited, bool override, bool inc_opt)
+void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
+                  const struct in6_addr *daddr,
+                  const struct in6_addr *solicited_addr,
+                  bool router, bool solicited, bool override, bool inc_opt)
 {
        struct sk_buff *skb;
        struct in6_addr tmpaddr;