2.5.43 : net/ipv4/ip_forward.c compile error

2.5.43 : net/ipv4/ip_forward.c compile error

Post by Frank Davi » Sun, 20 Oct 2002 02:10:06



Hello all,
  I haven't seen this posted on l-k yet (If I missed it, sorry in
advance). While a 'make bzImage' on 2.5.43, I received the following
error.

Regards,
Frank

net/ipv4/ip_forward.c: In function `ip_forward_finish':
net/ipv4/ip_forward.c:56: structure has no member named `key'
net/ipv4/ip_forward.c:56: structure has no member named `key'
make[2]: *** [net/ipv4/ip_forward.o] Error 1
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.43 : net/ipv4/ip_forward.c compile error

Post by Frank Davi » Sun, 20 Oct 2002 02:30:05


Hello all,
   The following patch seems to fix the error below. Please review for
inclusion.

Regards,
Frank

--- linux/net/ipv4/ip_forward.c.old     Thu Apr 12 15:11:39 2001

                if (rt->rt_flags&RTCF_FAST && !netdev_fastroute_obstacles) {
                        struct dst_entry *old_dst;
-                       unsigned h = ((*(u8*)&rt->key.dst)^(*(u8*)&rt->key.src))&NETDEV_FASTROUTE_HMASK;
+                       unsigned h = ((*(u8*)&rt->fl.fl4_dst)^(*(u8*)&rt->fl.fl4_src))&NETDEV_FASTROUTE_HMASK;

                        write_lock_irq(&skb->dev->fastpath_lock);
                        old_dst = skb->dev->fastpath[h];


> Hello all,
>   I haven't seen this posted on l-k yet (If I missed it, sorry in
> advance). While a 'make bzImage' on 2.5.43, I received the following
> error.

> Regards,
> Frank

> net/ipv4/ip_forward.c: In function `ip_forward_finish':
> net/ipv4/ip_forward.c:56: structure has no member named `key'
> net/ipv4/ip_forward.c:56: structure has no member named `key'
> make[2]: *** [net/ipv4/ip_forward.o] Error 1
> make[1]: *** [net/ipv4] Error 2
> make: *** [net] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.43 : net/ipv4/ip_forward.c compile error

Post by David S. Mille » Sun, 20 Oct 2002 02:30:08


Turn off fast routing for now, I'll fix this up.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

2.5.43 : net/ipv4/ip_forward.c compile error

Post by David S. Mille » Sun, 20 Oct 2002 02:30:09



   Date: Fri, 18 Oct 2002 20:11:50 -0400 (EDT)

      The following patch seems to fix the error below. Please review
   for  inclusion.

I'll apply this thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.43 : drivers/ieee1394/sbp2.c compile error

Hello all,
  While 'make modules', I received the following error.
Regards,
Frank

drivers/ieee1394/sbp2.c:1516: conflicting types for `sbp2_handle_physdma_write'
drivers/ieee1394/sbp2.h:513: previous declaration of `sbp2_handle_physdma_write'
drivers/ieee1394/sbp2.c:1532: conflicting types for `sbp2_handle_physdma_read'
drivers/ieee1394/sbp2.h:515: previous declaration of `sbp2_handle_physdma_read'
make[2]: *** [drivers/ieee1394/sbp2.o] Error 1
make[1]: *** [drivers/ieee1394] Error 2
make: *** [drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Battle.net problems with Linux firewall

3. 2.5.43 futex, error in error path

4. MCA & Zip drive

5. AFS compile breakage in 2.5.43

6. Cyrus + LDAP - LDAP Config?

7. GDT Driver won't compile with 2.5.43

8. Unix - Frequently Asked Questions (Contents) [Frequent posting]

9. 2.5.43: cpqarray compile fix

10. i2c-elektor (2.5.43) non-fatal error: unresolved symbol cli, sti

11. XFS build error on m68k in 2.5.43

12. ipv4: move proc stuff from net/ipv4/af_inet.c to net/ipv4/proc.c

13. Problems in the sk98lin driver (2.5.43)