diff options
author | Jiri Pirko <jiri@mellanox.com> | 2019-10-05 20:04:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 15:44:47 +0200 |
commit | c6c08614eb32d250612c9d2940e48951fb4ba325 (patch) | |
tree | bb8575a5a7570c509dab57f5a45169e87b95dc5d /net/tipc/netlink.h | |
parent | net: tipc: have genetlink code to parse the attrs during dumpit (diff) | |
download | linux-c6c08614eb32d250612c9d2940e48951fb4ba325.tar.xz linux-c6c08614eb32d250612c9d2940e48951fb4ba325.zip |
net: tipc: allocate attrs locally instead of using genl_family_attrbuf in compat_dumpit()
As this is the last user of genl_family_attrbuf, convert to allocate
attrs locally and do it in a similar way this is done in compat_doit().
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/netlink.h')
-rw-r--r-- | net/tipc/netlink.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/tipc/netlink.h b/net/tipc/netlink.h index 4ba0ad422110..7cf777723e3e 100644 --- a/net/tipc/netlink.h +++ b/net/tipc/netlink.h @@ -38,7 +38,6 @@ #include <net/netlink.h> extern struct genl_family tipc_genl_family; -int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***buf); struct tipc_nl_msg { struct sk_buff *skb; |