diff options
author | Mark Zhang <[email protected]> | 2018-12-05 15:50:49 +0200 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2018-12-12 12:14:49 -0500 |
commit | 37fbd834b4e492dc41743830cbe435f35120abd8 (patch) | |
tree | 541d15f26ec9566ff75219ca7eae11453cd56425 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 47f07f03b5ee436fe074c4fb1fb28d013c36a0d8 (diff) |
IB/core: Fix oops in netdev_next_upper_dev_rcu()
When support for bonding of RoCE devices was added, there was
necessarily a link between the RoCE device and the paired netdevice that
was part of the bond. If you remove the mlx4_en module, that paired
association is broken (the RoCE device is still present but the paired
netdevice has been released). We need to account for this in
is_upper_ndev_bond_master_filter() and filter out those links with a
broken pairing or else we later oops in netdev_next_upper_dev_rcu().
Fixes: 408f1242d940 ("IB/core: Delete lower netdevice default GID entries in bonding scenario")
Signed-off-by: Mark Zhang <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions