On Wed, 14 Mar 2007 17:37:51 +0100 (MET)
Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
> Apply this on top (and perhaps forward it).
>
> Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
>
> Index: linux/net/ipv4/netfilter/ipt_time.c
> ===================================================================
> --- linux.orig/net/ipv4/netfilter/ipt_time.c
> +++ linux/net/ipv4/netfilter/ipt_time.c
> @@ -97,7 +97,6 @@ checkentry(const char *tablename,
> const struct xt_match *match,
> #endif
> void *matchinfo,
> - unsigned int matchsize,
> unsigned int hook_mask)
> {
> struct ipt_time_info *info = matchinfo; /* match info for rule
> */
> #<EOF>
>
> I did not actually run into the named stamp thing.
I'm sorry Jan....
$ patch -p0 < linux/net/ipv4/netfilter/patch
patching file linux/net/ipv4/netfilter/ipt_time.c
Hunk #1 succeeded at 92 with fuzz 2 (offset -5 lines).
[..]
CC [M] net/ipv4/netfilter/ipt_time.o
net/ipv4/netfilter/ipt_time.c: In function ___match___:
net/ipv4/netfilter/ipt_time.c:69: error: ___const struct sk_buff___ has no
member named___stamp___
net/ipv4/netfilter/ipt_time.c: In function ___checkentry___:
net/ipv4/netfilter/ipt_time.c:113: error: ___matchsize___ undeclared
(first use in this function)
net/ipv4/netfilter/ipt_time.c:113: error: (Each undeclared identifier is
reported only once
net/ipv4/netfilter/ipt_time.c:113: error: for each function it appears
in.) net/ipv4/netfilter/ipt_time.c: At top level:
net/ipv4/netfilter/ipt_time.c:127: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_time.c:127: warning: initialization from
incompatible pointer type
net/ipv4/netfilter/ipt_time.c:127: warning: initialization from
incompatible poi nter type
make[4]: *** [net/ipv4/netfilter/ipt_time.o] Error 1
make[3]: *** [net/ipv4/netfilter] Error 2
make[2]: *** [net/ipv4] Error 2
make[1]: *** [net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20.3'
make: *** [debian/stamp-build-kernel] Error 2
--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
|