RDMA/hns: Fix incorrect bond clear during slave increase event
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8N6RR ---------------------------------------------------------------------- During slave increase event (a new slave being added to a existing bond), the existing slaves do not have a corresponding hr_dev handle (except for the main_hr_dev one). These slaves are mistakenly treated as non-hns devices and will lead to bond clear currently. The correct way to confirm if a slave is a hns device is to compare the netdev handle saved in the bond group. Fixes: 6ba084e0 ("RDMA/hns: add constraints for bonding-unsupported situations") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>
Loading
Please sign in to comment