diff options
author | 2013-10-16 17:37:51 +0300 | |
---|---|---|
committer | 2013-11-08 14:42:49 -0800 | |
commit | a9c8ba588495547d1598f1b83d5eb086bef65e4b (patch) | |
tree | 889eeb5b6597be549fe98f59f6384313b5f4a3e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IPoIB: Avoid flushing the driver workqueue on dev_down (diff) | |
download | linux-dev-a9c8ba588495547d1598f1b83d5eb086bef65e4b.tar.xz linux-dev-a9c8ba588495547d1598f1b83d5eb086bef65e4b.zip |
IPoIB: Fix usage of uninitialized multicast objects
The driver should avoid calling ib_sa_free_multicast on the mcast->mc
object until it finishes its initialization state. Otherwise we can
crash when ipoib_mcast_dev_flush() attempts to use the uninitialized
multicast object.
Instead, only call wait_for_completion() for multicast entries that
started the join process, meaning that ib_sa_join_multicast() finished.
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions