diff options
author | David S. Miller <davem@davemloft.net> | 2019-10-06 15:44:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 15:44:47 +0200 |
commit | d44dc741327906b6eaf9f69c626cfc48d13f7250 (patch) | |
tree | 219c1a4a93f0f5b25bb2fd053a02a6cc865be936 /net/tipc/netlink.h | |
parent | 248d45f1e1934f7849fbdc35ef1e57151cf063eb (diff) | |
parent | ee85da535fe30e02908d30ec6b8960c4a991cb2d (diff) | |
download | linux-d44dc741327906b6eaf9f69c626cfc48d13f7250.tar.gz linux-d44dc741327906b6eaf9f69c626cfc48d13f7250.tar.bz2 linux-d44dc741327906b6eaf9f69c626cfc48d13f7250.zip |
Merge branch 'net-genetlink-parse-attrs-for-dumpit-callback'
Jiri Pirko says:
====================
net: genetlink: parse attrs for dumpit() callback
In generic netlink, parsing attributes for doit() callback is already
implemented. They are available in info->attrs.
For dumpit() however, each user which is interested in attributes have to
parse it manually. Even though the attributes may be (depending on flag)
already validated (by parse function).
Make usage of attributes in dumpit() more convenient and prepare
info->attrs too.
Patchset also make the existing users of genl_family_attrbuf() converted
to use info->attrs and removes the helper.
====================
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; |