diff options
Diffstat (limited to 'drivers/infiniband/core/netlink.c')
-rw-r--r-- | drivers/infiniband/core/netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/netlink.c b/drivers/infiniband/core/netlink.c index da06abde9e0d..a1e9cba84944 100644 --- a/drivers/infiniband/core/netlink.c +++ b/drivers/infiniband/core/netlink.c | |||
@@ -148,7 +148,7 @@ static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) | |||
148 | list_for_each_entry(client, &client_list, list) { | 148 | list_for_each_entry(client, &client_list, list) { |
149 | if (client->index == index) { | 149 | if (client->index == index) { |
150 | if (op < 0 || op >= client->nops || | 150 | if (op < 0 || op >= client->nops || |
151 | !client->cb_table[RDMA_NL_GET_OP(op)].dump) | 151 | !client->cb_table[op].dump) |
152 | return -EINVAL; | 152 | return -EINVAL; |
153 | 153 | ||
154 | { | 154 | { |