diff mbox

route: Exporting ip6_route_add() so that Bluetooth 6LoWPAN can use it

Message ID 1383124637-15533-1-git-send-email-jukka.rissanen@linux.intel.com
State Rejected, archived
Delegated to: David Miller
Headers show

Commit Message

Jukka Rissanen Oct. 30, 2013, 9:17 a.m. UTC
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
 net/ipv6/route.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller Oct. 30, 2013, 5:05 p.m. UTC | #1
From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Date: Wed, 30 Oct 2013 11:17:17 +0200

> Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>

Sorry, no.

There is no reason that external subsystems need to add ipv6 routes
using direct calls to these functions.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index c979dd9..d7c200f 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1662,6 +1662,7 @@  out:
 		dst_free(&rt->dst);
 	return err;
 }
+EXPORT_SYMBOL_GPL(ip6_route_add);
 
 static int __ip6_del_rt(struct rt6_info *rt, struct nl_info *info)
 {