* [PATCH net] netlink: fix doc about nlmsg_parse/nla_validate
@ 2020-09-10 13:34 Nicolas Dichtel
2020-09-10 22:14 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Dichtel @ 2020-09-10 13:34 UTC (permalink / raw)
To: davem, kuba; +Cc: netdev, Nicolas Dichtel, Johannes Berg
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>
---
include/net/netlink.h | 2 --
1 file changed, 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
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] netlink: fix doc about nlmsg_parse/nla_validate
2020-09-10 13:34 [PATCH net] netlink: fix doc about nlmsg_parse/nla_validate Nicolas Dichtel
@ 2020-09-10 22:14 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-09-10 22:14 UTC (permalink / raw)
To: nicolas.dichtel; +Cc: kuba, netdev, johannes.berg
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Date: Thu, 10 Sep 2020 15:34:39 +0200
> 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>
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-10 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 13:34 [PATCH net] netlink: fix doc about nlmsg_parse/nla_validate Nicolas Dichtel
2020-09-10 22:14 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.