summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2012-10-04 20:15:49 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-07 00:30:56 -0400
commit809d5fc9bf6589276a12bd4fd611e4c7ff9940c3 (patch)
treec5a1b588f5ae1ceb21a898d354977c7df491e0e5 /include/rdma
parent6dc878a8ca39e93f70c42f3dd7260bde10c1e0f1 (diff)
downloadlinux-809d5fc9bf6589276a12bd4fd611e4c7ff9940c3.tar.gz
linux-809d5fc9bf6589276a12bd4fd611e4c7ff9940c3.tar.bz2
linux-809d5fc9bf6589276a12bd4fd611e4c7ff9940c3.zip
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 'include/rdma')
-rw-r--r--include/rdma/rdma_netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/rdma_netlink.h b/include/rdma/rdma_netlink.h
index 3c5363ab867b..bd3d8b24b420 100644
--- a/include/rdma/rdma_netlink.h
+++ b/include/rdma/rdma_netlink.h
@@ -39,6 +39,7 @@ struct rdma_cm_id_stats {
struct ibnl_client_cbs {
int (*dump)(struct sk_buff *skb, struct netlink_callback *nlcb);
+ struct module *module;
};
int ibnl_init(void);