diff options
author | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-10-23 17:24:30 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu </C=EU/ST=EU/CN=Jozsef Kadlecsik/emailAddress=kadlec@blackhole.kfki.hu> | 2008-10-23 17:24:30 +0000 |
commit | 46fb717308d9d717439badd48c150e32a3508a90 (patch) | |
tree | 3a6e1fcaca1b4b7e9a4e8353bb3f3b3db0f2c737 /kernel/ipt_SET.c | |
parent | fac5288ad80b7ca2f23d1d5acf6ced98a61fd8eb (diff) |
ipset 2.4.2:
- When flushing a nethash/ipportnethash type of set, it can
lead to a kernel crash due to a wrong type declaration,
bug reported by Krzysztof Oledzki.
- iptree and iptreemap types require the header file linux/timer.h,
also reported by Krzysztof Oledzki.
Diffstat (limited to 'kernel/ipt_SET.c')
-rw-r--r-- | kernel/ipt_SET.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/kernel/ipt_SET.c b/kernel/ipt_SET.c index f6afafd..960e557 100644 --- a/kernel/ipt_SET.c +++ b/kernel/ipt_SET.c @@ -10,17 +10,11 @@ /* ipt_SET.c - netfilter target to manipulate IP sets */ -#include <linux/types.h> -#include <linux/ip.h> -#include <linux/timer.h> #include <linux/module.h> -#include <linux/netfilter.h> -#include <linux/netdevice.h> -#include <linux/if.h> -#include <linux/inetdevice.h> +#include <linux/ip.h> +#include <linux/skbuff.h> #include <linux/version.h> -#include <net/protocol.h> -#include <net/checksum.h> + #include <linux/netfilter_ipv4.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) #include <linux/netfilter_ipv4/ip_tables.h> |