diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-10-04 20:15:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-07 04:30:56 (GMT) |
commit | 809d5fc9bf6589276a12bd4fd611e4c7ff9940c3 (patch) | |
tree | c5a1b588f5ae1ceb21a898d354977c7df491e0e5 /drivers/infiniband/core/cma.c | |
parent | 6dc878a8ca39e93f70c42f3dd7260bde10c1e0f1 (diff) | |
download | linux-fsl-qoriq-809d5fc9bf6589276a12bd4fd611e4c7ff9940c3.tar.xz |
infiniband: pass rdma_cm module to netlink_dump_start
set netlink_dump_control.module to avoid panic.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Cc: Roland Dreier <roland@kernel.org>
Cc: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/core/cma.c')
-rw-r--r-- | drivers/infiniband/core/cma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 26b3760..4fff27a 100644 --- a/drivers/infiniband/core/cma.c +++ b/drivers/infiniband/core/cma.c @@ -3498,7 +3498,8 @@ out: } static const struct ibnl_client_cbs cma_cb_table[] = { - [RDMA_NL_RDMA_CM_ID_STATS] = { .dump = cma_get_id_stats }, + [RDMA_NL_RDMA_CM_ID_STATS] = { .dump = cma_get_id_stats, + .module = THIS_MODULE }, }; static int __init cma_init(void) |