From 3b5602986ca95f67515e71139f901afb69db500d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 6 Apr 2012 20:42:50 +0000 Subject: [PATCH] - one more place Changed files: ipset-kernel-3.3.patch -> 1.3 --- ipset-kernel-3.3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ipset-kernel-3.3.patch b/ipset-kernel-3.3.patch index 44f5784..9709f2c 100644 --- a/ipset-kernel-3.3.patch +++ b/ipset-kernel-3.3.patch @@ -39,3 +39,25 @@ } static inline void +--- ipset-6.11/kernel/net/netfilter/ipset/ip_set_hash_net.c.orig 2012-01-12 18:53:09.000000000 +0100 ++++ ipset-6.11/kernel/net/netfilter/ipset/ip_set_hash_net.c 2012-04-06 22:42:23.225548191 +0200 +@@ -7,6 +7,7 @@ + + /* Kernel module implementing an IP set type: the hash:net type */ + ++#include + #include + #include + #include +@@ -295,7 +296,11 @@ + hash_net6_data_copy(struct hash_net6_elem *dst, + const struct hash_net6_elem *src) + { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) ++ dst->ip.in6 = src->ip.in6; ++#else + ipv6_addr_copy(&dst->ip.in6, &src->ip.in6); ++#endif + dst->cidr = src->cidr; + dst->nomatch = src->nomatch; + } -- 2.43.0