aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bonding/bond_debugfs.c')
-rw-r--r--drivers/net/bonding/bond_debugfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_debugfs.c b/drivers/net/bonding/bond_debugfs.c
index 280971b227ea..652f6c5d1bf7 100644
--- a/drivers/net/bonding/bond_debugfs.c
+++ b/drivers/net/bonding/bond_debugfs.c
@@ -29,7 +29,7 @@ static int bond_debug_rlb_hash_show(struct seq_file *m, void *v)
29 seq_printf(m, "SourceIP DestinationIP " 29 seq_printf(m, "SourceIP DestinationIP "
30 "Destination MAC DEV\n"); 30 "Destination MAC DEV\n");
31 31
32 spin_lock_bh(&(BOND_ALB_INFO(bond).rx_hashtbl_lock)); 32 spin_lock_bh(&bond->mode_lock);
33 33
34 hash_index = bond_info->rx_hashtbl_used_head; 34 hash_index = bond_info->rx_hashtbl_used_head;
35 for (; hash_index != RLB_NULL_INDEX; 35 for (; hash_index != RLB_NULL_INDEX;
@@ -42,7 +42,7 @@ static int bond_debug_rlb_hash_show(struct seq_file *m, void *v)
42 client_info->slave->dev->name); 42 client_info->slave->dev->name);
43 } 43 }
44 44
45 spin_unlock_bh(&(BOND_ALB_INFO(bond).rx_hashtbl_lock)); 45 spin_unlock_bh(&bond->mode_lock);
46 46
47 return 0; 47 return 0;
48} 48}