Thread (11 messages) flat view 11 messages, 3 authors, 2014-10-20

Re: [PATCH 1/7] netfilter: missing module license in the nf_reject_ipvX modules

From: Sergei Shtylyov <hidden>
Date: 2014-10-20 10:49:38
Also in: netfilter-devel

Hello.

On 10/20/2014 12:10 PM, Pablo Neira Ayuso wrote:
[   23.545204] nf_reject_ipv4: module license 'unspecified' taints kernel.
Fixes: c8d7b98 ("netfilter: move nf_send_resetX() code to nf_reject_ipvX modules")
Reported-by: Dave Young <redacted>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
  net/ipv4/netfilter/nf_reject_ipv4.c |    3 +++
  net/ipv6/netfilter/nf_reject_ipv6.c |    4 ++++
  2 files changed, 7 insertions(+)
[...]
quoted hunk ↗ jump to hunk
diff --git a/net/ipv6/netfilter/nf_reject_ipv6.c b/net/ipv6/netfilter/nf_reject_ipv6.c
index 5f5f043..20d9def 100644
--- a/net/ipv6/netfilter/nf_reject_ipv6.c
+++ b/net/ipv6/netfilter/nf_reject_ipv6.c
@@ -5,6 +5,8 @@
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
   */
+
+#include <linux/module.h>
  #include <net/ipv6.h>
  #include <net/ip6_route.h>
  #include <net/ip6_fib.h>
@@ -161,3 +163,5 @@ void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook)
  		ip6_local_out(nskb);
  }
  EXPORT_SYMBOL_GPL(nf_send_reset6);
+
+MODULE_LICENSE("GPL");
    Actually, "GPL v2" as follows from the comment above.

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help