Re: Linux 2.4.34.3

From: Urs Thuermann
Date: Sun Apr 22 2007 - 10:43:43 EST


Willy Tarreau <wtarreau@xxxxxxxxxxxxxxx> writes:

> I've just released Linux 2.4.34.3.
>
> Nothing critical, just a bunch of bugfixes and small security fix.

I get the following compile error:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.34.3-ut/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-guess-branch-probability -march=i686 -fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=fib_semantics -c -o fib_semantics.o fib_semantics.c
fib_semantics.c: In function `fib_create_info':
fib_semantics.c:436: error: label `errout' used but not defined
make[3]: *** [fib_semantics.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.34.3-ut/net/ipv4'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.34.3-ut/net/ipv4'
make[1]: *** [_subdir_ipv4] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.34.3-ut/net'
make: *** [_dir_net] Error 2

The appended patch fixes this problem.


urs


--- net/ipv4/fib_semantics.c.orig 2007-04-22 13:31:23.000000000 +0000
+++ net/ipv4/fib_semantics.c 2007-04-22 13:31:42.000000000 +0000
@@ -433,7 +433,7 @@

if (r->rtm_type > RTN_MAX) {
err = -EINVAL;
- goto errout;
+ goto failure;
}

/* Fast check to catch the most weird cases */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/