summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ieee802154/6lowpan/tx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ieee802154/6lowpan/tx.c b/net/ieee802154/6lowpan/tx.c
index ca53efa17be1..8bec827081cd 100644
--- a/net/ieee802154/6lowpan/tx.c
+++ b/net/ieee802154/6lowpan/tx.c
@@ -48,6 +48,9 @@ int lowpan_header_create(struct sk_buff *skb, struct net_device *ldev,
48 const struct ipv6hdr *hdr = ipv6_hdr(skb); 48 const struct ipv6hdr *hdr = ipv6_hdr(skb);
49 struct neighbour *n; 49 struct neighbour *n;
50 50
51 if (!daddr)
52 return -EINVAL;
53
51 /* TODO: 54 /* TODO:
52 * if this package isn't ipv6 one, where should it be routed? 55 * if this package isn't ipv6 one, where should it be routed?
53 */ 56 */