Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 17:20:18 GMT
From:      Keith White <Keith.White@site.uottawa.ca>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/80266: IPX routing doesn't work
Message-ID:  <200504231720.j3NHKIXH079621@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/80266; it has been noted by GNATS.

From: Keith White <Keith.White@site.uottawa.ca>
To: Bruce Evans <bde@zeta.org.au>
Cc: FreeBSD-gnats-submit@freebsd.org, bms@freebsd.org,
	rwatson@freebsd.org
Subject: Re: kern/80266: IPX routing doesn't work
Date: Sat, 23 Apr 2005 13:19:03 -0400 (EDT)

 On Sun, 24 Apr 2005, Bruce Evans wrote:
 
 >
 > The bug is that all (?) ipx structs were naturally packed, but this
 > was broken by adding a "u_int u_net;" to union ipx_net.
 > ...
 
 Indeed.  If I try a fresh build of 5.4-RC3 with "union ipx_net"
 defined without "u_int u_net", both "IPXrouted" and
 "netstat -rnf ipx" work as expected.  No additional "packed"
 attributes are required.  Does the change to "src/sys/netipx/ipx.h"
 need to be reverted (again)?  I don't use the mars_nwe port so don't
 know the ramifications there.
 
 Thanks for the hint!
 
 ...keith
 
 The following patch against 5.4-RC3 "works for me":
 
 
 --- usr/src/sys/netipx/ipx.h	Mon Jan 31 18:26:42 2005
 +++ /usr/src/sys/netipx/ipx.h	Sat Apr 23 11:38:37 2005
 @@ -108,7 +108,7 @@
  union ipx_net {
  	u_char	c_net[4];
  	u_short	s_net[2];
 -	u_int	u_net;
 +/*	u_int	u_net; */
  };
 
  union ipx_net_u {
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504231720.j3NHKIXH079621>