linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.43 : net/ipv4/ip_forward.c compile error
@ 2002-10-18 23:59 Frank Davis
  2002-10-19  0:11 ` [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix Frank Davis
  2002-10-19  0:15 ` 2.5.43 : net/ipv4/ip_forward.c compile error David S. Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Frank Davis @ 2002-10-18 23:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: fdavis

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix
  2002-10-18 23:59 2.5.43 : net/ipv4/ip_forward.c compile error Frank Davis
@ 2002-10-19  0:11 ` Frank Davis
  2002-10-19  0:16   ` David S. Miller
  2002-10-19  0:15 ` 2.5.43 : net/ipv4/ip_forward.c compile error David S. Miller
  1 sibling, 1 reply; 4+ messages in thread
From: Frank Davis @ 2002-10-19  0:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: fdavis, torvalds

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
+++ linux/net/ipv4/ip_forward.c	Fri Oct 18 20:05:30 2002
@@ -53,7 +53,7 @@
 
 		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];
 

On Fri, 18 Oct 2002, Frank Davis wrote:

> 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
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.5.43 : net/ipv4/ip_forward.c compile error
  2002-10-18 23:59 2.5.43 : net/ipv4/ip_forward.c compile error Frank Davis
  2002-10-19  0:11 ` [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix Frank Davis
@ 2002-10-19  0:15 ` David S. Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David S. Miller @ 2002-10-19  0:15 UTC (permalink / raw)
  To: fdavis; +Cc: linux-kernel


Turn off fast routing for now, I'll fix this up.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix
  2002-10-19  0:11 ` [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix Frank Davis
@ 2002-10-19  0:16   ` David S. Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Miller @ 2002-10-19  0:16 UTC (permalink / raw)
  To: fdavis; +Cc: linux-kernel, torvalds

   From: Frank Davis <fdavis@si.rr.com>
   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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-19  0:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-18 23:59 2.5.43 : net/ipv4/ip_forward.c compile error Frank Davis
2002-10-19  0:11 ` [PATCH] 2.5.43 : net/ipv4/ip_forward.c compile error fix Frank Davis
2002-10-19  0:16   ` David S. Miller
2002-10-19  0:15 ` 2.5.43 : net/ipv4/ip_forward.c compile error David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).