]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/net/net_namespace.h
Merge tag 'stable/for-linus-3.16-rc7-tag' of git://git.kernel.org/pub/scm/linux/kerne...
[karo-tx-linux.git] / include / net / net_namespace.h
index 5f9eb260990f6507d61f42d2463d45455346e812..361d26077196678af5bd7ce217715a2cc847f2af 100644 (file)
@@ -373,6 +373,14 @@ static inline void rt_genid_bump_ipv6(struct net *net)
 }
 #endif
 
+#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
+static inline struct netns_ieee802154_lowpan *
+net_ieee802154_lowpan(struct net *net)
+{
+       return &net->ieee802154_lowpan;
+}
+#endif
+
 /* For callers who don't really care about whether it's IPv4 or IPv6 */
 static inline void rt_genid_bump_all(struct net *net)
 {