diff options
author | 2017-11-27 13:39:05 +0000 | |
---|---|---|
committer | 2017-12-01 12:21:26 -0700 | |
commit | a9cd1a673737dd81332fce1145801bfacfb90d90 (patch) | |
tree | 1d613157350355e6474d272af2392b22519f3561 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | RDMA/cma: Make sure that PSN is not over max allowed (diff) | |
download | wireguard-linux-a9cd1a673737dd81332fce1145801bfacfb90d90.tar.xz wireguard-linux-a9cd1a673737dd81332fce1145801bfacfb90d90.zip |
IB/core: Init subsys if compiled to vmlinuz-core
Once infiniband is compiled as a core component its subsystem must be
enabled before device initialization. Otherwise there is a NULL pointer
dereference during mlx4_core init, calltrace:
->device_add
if (dev->class) {
deref dev->class->p =>NULLPTR
#Config
CONFIG_NET_DEVLINK=y
CONFIG_MAY_USE_DEVLINK=y
CONFIG_MLX4_EN=y
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions