net: fix tranmitted/tranmitting typo
[linux-block.git] / drivers / net / bonding / bond_alb.c
index 5c6fba802f2b759561ee6c9c0c44bd3ea761b2c6..ab69e5afa3b2cb251ecbe0c06230dc7a0dc43429 100644 (file)
@@ -176,7 +176,7 @@ static int tlb_initialize(struct bonding *bond)
        bond_info->tx_hashtbl = new_hashtbl;
 
        for (i = 0; i < TLB_HASH_TABLE_SIZE; i++) {
-               tlb_init_table_entry(&bond_info->tx_hashtbl[i], 1);
+               tlb_init_table_entry(&bond_info->tx_hashtbl[i], 0);
        }
 
        _unlock_tx_hashtbl(bond);
@@ -604,7 +604,7 @@ static struct slave *rlb_choose_channel(struct sk_buff *skb, struct bonding *bon
 
        _lock_rx_hashtbl(bond);
 
-       hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_src));
+       hash_index = _simple_hash((u8 *)&arp->ip_dst, sizeof(arp->ip_dst));
        client_info = &(bond_info->rx_hashtbl[hash_index]);
 
        if (client_info->assigned) {