Add kernal module meta-data to nf_conntrack_proto_gre

Message ID 12b2dbf1-31a6-65bc-419b-02862b3e3f9a@vishnivetsky.ru
State RFC
Delegated to: Pablo Neira
Headers show
Series
  • Add kernal module meta-data to nf_conntrack_proto_gre
Related show

Commit Message

From 10462f9abafc40138362eb499face751ff392a7b Mon Sep 17 00:00:00 2001
From: "Konstantin S. Vishnivetsky" <kvishnivetsky@users.noreply.github.com>
Date: Sun, 8 Apr 2018 18:08:06 +0700
Subject: [PATCH] Add kernal module meta-data to nf_conntrack_proto_gre

Some software like firewalld depend on kernel module meta-data.
This patch will help to fix: https://github.com/firewalld/firewalld/issues/263
---
  net/netfilter/nf_conntrack_proto_gre.c | 6 ++++++
  1 file changed, 6 insertions(+)


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/netfilter/nf_conntrack_proto_gre.c b/net/netfilter/nf_conntrack_proto_gre.c
index d049ea5a3770d..282949e8d5b7c 100644
--- a/net/netfilter/nf_conntrack_proto_gre.c
+++ b/net/netfilter/nf_conntrack_proto_gre.c
@@ -42,6 +42,12 @@ 
  #include <linux/netfilter/nf_conntrack_proto_gre.h>
  #include <linux/netfilter/nf_conntrack_pptp.h>
  
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Harald Welte <laforge@gnumonks.org>");
+MODULE_DESCRIPTION("Netfilter connection tracking helper module for GRE");
+MODULE_ALIAS("ip_conntrack_gre");
+MODULE_ALIAS_NFCT_HELPER("gre");
+
  enum grep_conntrack {
  	GRE_CT_UNREPLIED,
  	GRE_CT_REPLIED,