--- ../patch-o-matic-ng/patchlets/u32/linux-2.6/net/ipv4/netfilter/ipt_u32.c.orig 2008-03-13 21:43:06.000000000 +0100 +++ ../patch-o-matic-ng/patchlets/u32/linux-2.6/net/ipv4/netfilter/ipt_u32.c 2008-03-15 19:51:02.000000000 +0100 @@ -116,7 +116,7 @@ static char u32_buffer[65536]; static DEFINE_SPINLOCK(u32_lock); -static int +static bool match(const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, @@ -124,7 +124,7 @@ const void *matchinfo, int offset, unsigned int protoff, - int *hotdrop) + bool *hotdrop) { const struct ipt_u32 *data = matchinfo; int testind, i; @@ -201,16 +201,13 @@ return 1; } -static int +static bool checkentry(const char *tablename, const void *ip, const struct xt_match *match, void *matchinfo, - unsigned int matchsize, unsigned int hook_mask) { - if (matchsize != IPT_ALIGN(sizeof(struct ipt_u32))) - return 0; return 1; }