diff options
| author | Xiangning Yu <yuxiangning@gmail.com> | 2018-06-07 13:39:59 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-26 07:53:53 +0800 |
| commit | d88b02310542c8d09ff0c46d7817f79917074373 (patch) | |
| tree | 6a5ef17b963027f04fd4395a7aaadcd99cd726ff /tools/perf/scripts/python/stackcollapse.py | |
| parent | a988ccdea68969e7894398d8953476d2afdaa508 (diff) | |
bonding: re-evaluate force_primary when the primary slave name changes
[ Upstream commit eb55bbf865d9979098c6a7a17cbdb41237ece951 ]
There is a timing issue under active-standy mode, when bond_enslave() is
called, bond->params.primary might not be initialized yet.
Any time the primary slave string changes, bond->force_primary should be
set to true to make sure the primary becomes the active slave.
Signed-off-by: Xiangning Yu <yuxiangning@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
