I'm getting this when I try to compile test10-pre7:
make[3]: Entering directory `/home/decklin/src/kernel/linux/net/ipv4'
gcc -D__KERNEL__ -I/home/decklin/src/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o route.o route.c
gcc -D__KERNEL__ -I/home/decklin/src/kernel/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -c -o ip_forward.o ip_forward.c
ip_forward.c: In function `ip_forward':
ip_forward.c:139: `NET_RX_BAD' undeclared (first use in this function)
ip_forward.c:139: (Each undeclared identifier is reported only once
ip_forward.c:139: for each function it appears in.)
make[3]: *** [ip_forward.o] Error 1
--
There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There
are no ABSOLUTE STATEMENTS. I'm very probably wrong. -- BSD fortune(6)
Sorry. Please try this patch below. Linus, please apply:
--- include/linux/netdevice.h.~1~ Mon Oct 30 17:57:20 2000
+++ include/linux/netdevice.h Mon Oct 30 20:05:38 2000
@@ -55,6 +55,7 @@
#define NET_RX_CN_MOD 2 /* Storm on its way! */
#define NET_RX_CN_HIGH 5 /* The storm is here */
#define NET_RX_DROP -1 /* packet dropped */
+#define NET_RX_BAD -2 /* packet dropped due to kernel error */
#define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
David S. Miller writes:
> Sorry. Please try this patch below. Linus, please apply:
This fixes it -- thanks.
> --- include/linux/netdevice.h.~1~ Mon Oct 30 17:57:20 2000
> +++ include/linux/netdevice.h Mon Oct 30 20:05:38 2000
> @@ -55,6 +55,7 @@
> #define NET_RX_CN_MOD 2 /* Storm on its way! */
> #define NET_RX_CN_HIGH 5 /* The storm is here */
> #define NET_RX_DROP -1 /* packet dropped */
> +#define NET_RX_BAD -2 /* packet dropped due to kernel error */
>
> #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0)
--
There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There
are no ABSOLUTE STATEMENTS. I'm very probably wrong. -- BSD fortune(6)