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>
This commit is contained in:

committed by
David S. Miller

parent
6dc878a8ca
commit
809d5fc9bf
@@ -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);
|
||||
|
Reference in New Issue
Block a user