From 606b7468614357005c320f396cc2e90256e3f277 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 5 Sep 2010 21:11:28 +0200 Subject: update to latest upstream --- package/ipset/patches/patch-kernel_ipt_set_c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/ipset/patches/patch-kernel_ipt_set_c (limited to 'package/ipset/patches/patch-kernel_ipt_set_c') diff --git a/package/ipset/patches/patch-kernel_ipt_set_c b/package/ipset/patches/patch-kernel_ipt_set_c new file mode 100644 index 000000000..50f81919a --- /dev/null +++ b/package/ipset/patches/patch-kernel_ipt_set_c @@ -0,0 +1,32 @@ +--- ipset-4.1.orig/kernel/ipt_set.c 2009-11-10 21:45:41.000000000 +0100 ++++ ipset-4.1/kernel/ipt_set.c 2010-08-29 14:45:51.832408251 +0200 +@@ -83,10 +83,14 @@ match(const struct sk_buff *skb, + int offset, + unsigned int protoff, + bool *hotdrop) +-#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) */ ++#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) + static bool + match(const struct sk_buff *skb, + const struct xt_match_param *par) ++#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) */ ++static bool ++match(const struct sk_buff *skb, ++ struct xt_action_param *par) + #endif + { + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) +@@ -136,9 +140,12 @@ checkentry(const char *tablename, + const struct xt_match *match, + void *matchinfo, + unsigned int hook_mask) +-#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28) */ ++#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,35) + static bool + checkentry(const struct xt_mtchk_param *par) ++#else /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35) */ ++static int ++checkentry(const struct xt_mtchk_param *par) + #endif + { + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28) -- cgit v1.2.3