netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 10/10] [bonding 2.6] Fix ipx_hdr compile error
@ 2003-09-11 14:46 Amir Noam
  2003-09-20 18:18 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Amir Noam @ 2003-09-11 14:46 UTC (permalink / raw)
  To: bonding-devel, netdev

diff -Nuarp a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c
--- a/drivers/net/bonding/bond_alb.c	Thu Sep 11 16:48:44 2003
+++ b/drivers/net/bonding/bond_alb.c	Thu Sep 11 16:48:45 2003
@@ -1329,16 +1329,15 @@ bond_alb_xmit(struct sk_buff *skb, struc
 		hash_size = 16;
 		break;
 
-#ifdef FIXME
 	case ETH_P_IPX:
-		if (skb->nh.ipxh->ipx_checksum !=
+		if (ipx_hdr(skb)->ipx_checksum !=
 		    __constant_htons(IPX_NO_CHECKSUM)) {
 			/* something is wrong with this packet */
 			do_tx_balance = 0;
 			break;
 		}
 
-		if (skb->nh.ipxh->ipx_type !=
+		if (ipx_hdr(skb)->ipx_type !=
 		    __constant_htons(IPX_TYPE_NCP)) {
 			/* The only protocol worth balancing in
 			 * this family since it has an "ARP" like
@@ -1351,7 +1350,6 @@ bond_alb_xmit(struct sk_buff *skb, struc
 		hash_start = (char*)eth_data->h_dest;
 		hash_size = ETH_ALEN;
 		break;
-#endif
 
 	case ETH_P_ARP:
 		do_tx_balance = 0;

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <E791C176A6139242A988ABA8B3D9B38A02A464E2@hasmsx403.iil.intel.com>]

end of thread, other threads:[~2003-09-21 11:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-11 14:46 [PATCH 10/10] [bonding 2.6] Fix ipx_hdr compile error Amir Noam
2003-09-20 18:18 ` Jeff Garzik
     [not found] <E791C176A6139242A988ABA8B3D9B38A02A464E2@hasmsx403.iil.intel.com>
2003-09-21 11:03 ` Shmulik Hen

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