diff options
Diffstat (limited to 'drivers/infiniband/core/netlink.c')
-rw-r--r-- | drivers/infiniband/core/netlink.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/infiniband/core/netlink.c b/drivers/infiniband/core/netlink.c index 10469b0088b5..b784055423c8 100644 --- a/drivers/infiniband/core/netlink.c +++ b/drivers/infiniband/core/netlink.c | |||
@@ -146,7 +146,8 @@ nla_put_failure: | |||
146 | } | 146 | } |
147 | EXPORT_SYMBOL(ibnl_put_attr); | 147 | EXPORT_SYMBOL(ibnl_put_attr); |
148 | 148 | ||
149 | static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) | 149 | static int ibnl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, |
150 | struct netlink_ext_ack *extack) | ||
150 | { | 151 | { |
151 | struct ibnl_client *client; | 152 | struct ibnl_client *client; |
152 | int type = nlh->nlmsg_type; | 153 | int type = nlh->nlmsg_type; |
@@ -209,7 +210,7 @@ static void ibnl_rcv_reply_skb(struct sk_buff *skb) | |||
209 | if (nlh->nlmsg_flags & NLM_F_REQUEST) | 210 | if (nlh->nlmsg_flags & NLM_F_REQUEST) |
210 | return; | 211 | return; |
211 | 212 | ||
212 | ibnl_rcv_msg(skb, nlh); | 213 | ibnl_rcv_msg(skb, nlh, NULL); |
213 | 214 | ||
214 | msglen = NLMSG_ALIGN(nlh->nlmsg_len); | 215 | msglen = NLMSG_ALIGN(nlh->nlmsg_len); |
215 | if (msglen > skb->len) | 216 | if (msglen > skb->len) |