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) ...@@ -1329,16 +1329,15 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
hash_size = 16; hash_size = 16;
break; break;
#ifdef FIXME
case ETH_P_IPX: case ETH_P_IPX:
if (skb->nh.ipxh->ipx_checksum != if (ipx_hdr(skb)->ipx_checksum !=
__constant_htons(IPX_NO_CHECKSUM)) { __constant_htons(IPX_NO_CHECKSUM)) {
/* something is wrong with this packet */ /* something is wrong with this packet */
do_tx_balance = 0; do_tx_balance = 0;
break; break;
} }
if (skb->nh.ipxh->ipx_type != if (ipx_hdr(skb)->ipx_type !=
__constant_htons(IPX_TYPE_NCP)) { __constant_htons(IPX_TYPE_NCP)) {
/* The only protocol worth balancing in /* The only protocol worth balancing in
* this family since it has an "ARP" like * this family since it has an "ARP" like
...@@ -1351,7 +1350,6 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -1351,7 +1350,6 @@ bond_alb_xmit(struct sk_buff *skb, struct net_device *dev)
hash_start = (char*)eth_data->h_dest; hash_start = (char*)eth_data->h_dest;
hash_size = ETH_ALEN; hash_size = ETH_ALEN;
break; break;
#endif
case ETH_P_ARP: case ETH_P_ARP:
do_tx_balance = 0; 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