diff options
author | 2013-12-13 10:20:26 +0800 | |
---|---|---|
committer | 2013-12-14 01:58:02 -0500 | |
commit | f23691095b3c2c05b3ee4ab03cb8e90cfe245ea8 (patch) | |
tree | 3f219542a49b94e7120a1ce0201cdf61a65232f0 /net/tipc | |
parent | bonding: remove unwanted lock for bond_store_primaryxxx() (diff) | |
download | linux-dev-f23691095b3c2c05b3ee4ab03cb8e90cfe245ea8.tar.xz linux-dev-f23691095b3c2c05b3ee4ab03cb8e90cfe245ea8.zip |
bonding: rebuild the bond_resend_igmp_join_requests_delayed()
The bond_resend_igmp_join_requests_delayed() and
bond_resend_igmp_join_requests() should be integrated,
because the bond_resend_igmp_join_requests_delayed() did
nothing except bond_resend_igmp_join_requests().
The bond igmp_retrans could only be changed in bond_change_active_slave
and here, bond_change_active_slave will be called in RTNL and curr_slave_lock,
the bond_resend_igmp_join_requests already hold RTNL, so no need
to free RTNL and hold curr_slave_lock again, it may be a small optimization,
so move the igmp_retrans in RTNL and remove the curr_slave_lock.
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions