From: Luis R. Rodriguez <mcgrof@suse.com>
Date: Fri, 18 Apr 2014 01:22:56 +0000 (-0700)
Subject: 6lowpan: include net/net_namespace.h on 6lowpan namepsace header
X-Git-Tag: firefly_0821_release~176^2~3765^2~352
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17d8ecb8ff791359c9d9a44bc766c3d4b87f37f7;p=firefly-linux-kernel-4.4.55.git

6lowpan: include net/net_namespace.h on 6lowpan namepsace header

Don't rely on driver files or other headers having this file included.

CC: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: linux-zigbee-devel@lists.sourceforge.net
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
---

diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index f7d372b7d4ff..79b530fb2c4d 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -54,6 +54,7 @@
 #define __6LOWPAN_H__
 
 #include <net/ipv6.h>
+#include <net/net_namespace.h>
 
 #define UIP_802154_SHORTADDR_LEN	2  /* compressed ipv6 address length */
 #define UIP_IPH_LEN			40 /* ipv6 fixed header size */