projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1c3029
)
IB/sa: Fix rdma netlink message flags
author
Kaike Wan
<
[email protected]
>
Thu, 20 Aug 2015 18:20:42 +0000
(14:20 -0400)
committer
Doug Ledford
<
[email protected]
>
Wed, 2 Sep 2015 17:58:54 +0000
(13:58 -0400)
The flags to ibnl_put_msg should be NLM_F_REQUEST instead of GFP_KERNEL.
Signed-off-by: Kaike Wan <
[email protected]
>
Signed-off-by: John Fleck <
[email protected]
>
Signed-off-by: Ira Weiny <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/infiniband/core/sa_query.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/sa_query.c
b/drivers/infiniband/core/sa_query.c
index edcf568dab48a7ab0e0be0783434d679947e792c..8c014b33d8e0a5bc97e6e2408b3ded37ddfd06c2 100644
(file)
--- a/
drivers/infiniband/core/sa_query.c
+++ b/
drivers/infiniband/core/sa_query.c
@@
-532,7
+532,7
@@
static int ib_nl_send_msg(struct ib_sa_query *query)
/* Put nlmsg header only for now */
data = ibnl_put_msg(skb, &nlh, query->seq, 0, RDMA_NL_LS,
- RDMA_NL_LS_OP_RESOLVE,
(int) GFP_KERNEL
);
+ RDMA_NL_LS_OP_RESOLVE,
NLM_F_REQUEST
);
if (!data) {
kfree_skb(skb);
return -EMSGSIZE;