summaryrefslogtreecommitdiffstats
path: root/include/net/netlink.h
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2020-09-10 15:34:39 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-11 00:13:43 +0200
commit553d87b658fed0e22a0f86b4f1b093c39d3e3074 (patch)
treededf9d61628bdc00beb2c85562f84b69400e8fb3 /include/net/netlink.h
parentnet: DCB: Validate DCB_ATTR_DCB_BUFFER argument (diff)
downloadlinux-553d87b658fed0e22a0f86b4f1b093c39d3e3074.tar.xz
linux-553d87b658fed0e22a0f86b4f1b093c39d3e3074.zip
netlink: fix doc about nlmsg_parse/nla_validate
There is no @validate argument. CC: Johannes Berg <johannes.berg@intel.com> Fixes: 3de644035446 ("netlink: re-add parse/validate functions in strict mode") Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netlink.h')
-rw-r--r--include/net/netlink.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/netlink.h b/include/net/netlink.h
index c0411f14fb53..8e0eb2c9c528 100644
--- a/include/net/netlink.h
+++ b/include/net/netlink.h
@@ -726,7 +726,6 @@ static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
* @hdrlen: length of family specific header
* @tb: destination array with maxtype+1 elements
* @maxtype: maximum attribute type to be expected
- * @validate: validation strictness
* @extack: extended ACK report struct
*
* See nla_parse()
@@ -824,7 +823,6 @@ static inline int nla_validate_deprecated(const struct nlattr *head, int len,
* @len: length of attribute stream
* @maxtype: maximum attribute type to be expected
* @policy: validation policy
- * @validate: validation strictness
* @extack: extended ACK report struct
*
* Validates all attributes in the specified attribute stream against the