Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab2d7251 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: missing module license in the nf_reject_ipvX modules



[   23.545204] nf_reject_ipv4: module license 'unspecified' taints kernel.

Fixes: c8d7b98b ("netfilter: move nf_send_resetX() code to nf_reject_ipvX modules")
Reported-by: default avatarDave Young <dyoung@redhat.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 01d2d484
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,7 @@
 * published by the Free Software Foundation.
 * published by the Free Software Foundation.
 */
 */


#include <linux/module.h>
#include <net/ip.h>
#include <net/ip.h>
#include <net/tcp.h>
#include <net/tcp.h>
#include <net/route.h>
#include <net/route.h>
@@ -125,3 +126,5 @@ void nf_send_reset(struct sk_buff *oldskb, int hook)
	kfree_skb(nskb);
	kfree_skb(nskb);
}
}
EXPORT_SYMBOL_GPL(nf_send_reset);
EXPORT_SYMBOL_GPL(nf_send_reset);

MODULE_LICENSE("GPL");
+4 −0
Original line number Original line Diff line number Diff line
@@ -5,6 +5,8 @@
 * it under the terms of the GNU General Public License version 2 as
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 * published by the Free Software Foundation.
 */
 */

#include <linux/module.h>
#include <net/ipv6.h>
#include <net/ipv6.h>
#include <net/ip6_route.h>
#include <net/ip6_route.h>
#include <net/ip6_fib.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);
		ip6_local_out(nskb);
}
}
EXPORT_SYMBOL_GPL(nf_send_reset6);
EXPORT_SYMBOL_GPL(nf_send_reset6);

MODULE_LICENSE("GPL");