diff options
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 0cda34b827f8..3aff1a815e89 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -195,6 +195,12 @@ struct bonding { | |||
195 | s32 slave_cnt; /* never change this value outside the attach/detach wrappers */ | 195 | s32 slave_cnt; /* never change this value outside the attach/detach wrappers */ |
196 | int (*recv_probe)(const struct sk_buff *, struct bonding *, | 196 | int (*recv_probe)(const struct sk_buff *, struct bonding *, |
197 | struct slave *); | 197 | struct slave *); |
198 | /* mode_lock is used for mode-specific locking needs, currently used by: | ||
199 | * 3ad mode (4) - protect against running bond_3ad_unbind_slave() and | ||
200 | * bond_3ad_state_machine_handler() concurrently. | ||
201 | * TLB mode (5) - to sync the use and modifications of its hash table | ||
202 | * ALB mode (6) - to sync the use and modifications of its hash table | ||
203 | */ | ||
198 | spinlock_t mode_lock; | 204 | spinlock_t mode_lock; |
199 | u8 send_peer_notif; | 205 | u8 send_peer_notif; |
200 | u8 igmp_retrans; | 206 | u8 igmp_retrans; |