Commit 4dccded3 authored by Amir Noam's avatar Amir Noam Committed by Stephen Hemminger

[PATCH] [bonding 2.6] Fix ipx_hdr compile error

parent 2378db68
......@@ -1329,16 +1329,15 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
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, struct net_device *dev)
hash_start = (char*)eth_data->h_dest;
hash_size = ETH_ALEN;
break;
#endif
case ETH_P_ARP:
do_tx_balance = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment