Skip to contentSkip to conversation

netlink: fix doc about nlmsg_parse/nla_validate

PATCH Applied Nicolas Dichtel 2 participants 2 messages Sep 10, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netlink: fix doc about nlmsg_parse/nla_validate

There is no @validate argument.

CC Johannes Berg <[email protected]>
Fixes 3de644035446 ("netlink: re-add parse/validate functions in strict mode")
---
 include/net/netlink.h | 2 --
 1 file changed, 2 deletions(-)
include/net/netlink.h +0 -2
index c0411f14fb53..8e0eb2c9c528 100644
@@ -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
Signature · 1 line
2.26.2