mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[GENETLINK]: Add cmd dump completion.
Remove assumption that generic netlink commands cannot have dump completion callbacks. Signed-off-by: Jamal Hadi Salim <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c40a27f48c
commit
a4d1366d50
2 changed files with 3 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
|
|||
}
|
||||
|
||||
*errp = err = netlink_dump_start(genl_sock, skb, nlh,
|
||||
ops->dumpit, NULL);
|
||||
ops->dumpit, ops->done);
|
||||
if (err == 0)
|
||||
skb_pull(skb, min(NLMSG_ALIGN(nlh->nlmsg_len),
|
||||
skb->len));
|
||||
|
|
|
|||
Loading…
Reference in a new issue