commit | 9402b746e7ba0f317ffa465a4c5128c7c220f27b | [log] [tgz] |
---|---|---|
author | dingtianhong <dingtianhong@huawei.com> | Tue Jul 23 15:25:39 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 24 17:45:23 2013 -0700 |
tree | 81801c39a71e208ea61861b753b4cc5ef3883b82 | |
parent | 38c4916a7874aff9dc07a68bf8e7e4136b00f8dd [diff] |
bonding: add rtnl protection for bonding_store_fail_over_mac We need rtnl protection while reading slave_cnt and updating the .fail_over_mac, and it also follows the logic "don't change anything slave-related without rtnl". :) Signed-off-by: Ding Tianhong <dingtianhong@huawei.com> Cc: Jay Vosburgh <fubar@us.ibm.com> Cc: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: David S. Miller <davem@davemloft.net>