diff options
author | David Ahern <dsahern@gmail.com> | 2018-10-08 05:16:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-08 19:39:04 +0200 |
commit | dac9c9790e542777079999900594fd069ba10489 (patch) | |
tree | bcaa1615ea86b788b7b7808956f08677059ee17c /net/ipv6/addrconf.c | |
parent | netlink: Add extack message to nlmsg_parse for invalid header length (diff) | |
download | linux-dac9c9790e542777079999900594fd069ba10489.tar.xz linux-dac9c9790e542777079999900594fd069ba10489.zip |
net: Add extack to nlmsg_parse
Make sure extack is passed to nlmsg_parse where easy to do so.
Most of these are dump handlers and leveraging the extack in
the netlink_callback.
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Christian Brauner <christian@brauner.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index a9a317322388..2f8aa4fd5e55 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -5021,7 +5021,7 @@ static int inet6_dump_addr(struct sk_buff *skb, struct netlink_callback *cb, s_ip_idx = ip_idx = cb->args[2]; if (nlmsg_parse(cb->nlh, sizeof(struct ifaddrmsg), tb, IFA_MAX, - ifa_ipv6_policy, NULL) >= 0) { + ifa_ipv6_policy, cb->extack) >= 0) { if (tb[IFA_TARGET_NETNSID]) { netnsid = nla_get_s32(tb[IFA_TARGET_NETNSID]); |