Skip to content

Commit 5ae5e99

Browse files
ydroneauddavem330
authored andcommitted
6lowpan: add a license to 6lowpan_iphc module
Since commit 8df8c56, 6lowpan_iphc is a module of its own. Unfortunately, it lacks some infrastructure to behave like a good kernel citizen: kernel: 6lowpan_iphc: module license 'unspecified' taints kernel. kernel: Disabling lock debugging due to kernel taint This patch adds the basic MODULE_LICENSE(); with GPL license: the code was copied from net/ieee802154/6lowpan.c which is GPL and the module exports symbol with EXPORT_SYMBOL_GPL();. Cc: Jukka Rissanen <jukka.rissanen@linux.intel.com> Cc: Alexander Aring <alex.aring@gmail.com> Cc: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Yann Droneaud <ydroneaud@opteya.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 99301ba commit 5ae5e99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

net/ieee802154/6lowpan_iphc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
#include <linux/bitops.h>
5454
#include <linux/if_arp.h>
55+
#include <linux/module.h>
5556
#include <linux/netdevice.h>
5657
#include <net/ipv6.h>
5758
#include <net/af_ieee802154.h>
@@ -797,3 +798,5 @@ int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev,
797798
return 0;
798799
}
799800
EXPORT_SYMBOL_GPL(lowpan_header_compress);
801+
802+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)