kern/80266: IPX routing doesn't work

Keith White Keith.White at site.uottawa.ca
Sat Apr 23 10:20:19 PDT 2005


The following reply was made to PR kern/80266; it has been noted by GNATS.

From: Keith White <Keith.White at site.uottawa.ca>
To: Bruce Evans <bde at zeta.org.au>
Cc: FreeBSD-gnats-submit at freebsd.org, bms at freebsd.org,
	rwatson at 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 {
 


More information about the freebsd-bugs mailing list