From: Jozsef Kadlecsik Date: Sat, 26 Mar 2011 19:19:32 +0000 (+0100) Subject: Add explicit text message to detect patched kernel. X-Git-Tag: v6.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29b83847687dcefe59b42056a80f1b0929efcd6e;p=ipset Add explicit text message to detect patched kernel. --- diff --git a/netlink.patch b/netlink.patch index faa873b..e51d9ba 100644 --- a/netlink.patch +++ b/netlink.patch @@ -44,3 +44,16 @@ index 373f1a9..8a3906a 100644 #define NLA_PUT_STRING(skb, attrtype, value) \ NLA_PUT(skb, attrtype, strlen(value) + 1, value) +diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c +index b4a4532..51dd302 100644 +--- a/net/netfilter/nfnetlink.c ++++ b/net/netfilter/nfnetlink.c +@@ -35,7 +35,7 @@ MODULE_LICENSE("GPL"); + MODULE_AUTHOR("Harald Welte "); + MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_NETFILTER); + +-static char __initdata nfversion[] = "0.30"; ++static char __initdata nfversion[] = "0.30 with ipset netlink.patch"; + + static const struct nfnetlink_subsystem *subsys_table[NFNL_SUBSYS_COUNT]; + static DEFINE_MUTEX(nfnl_mutex);