]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/tipc/node.c
netlink: pass extended ACK struct to parsing functions
[mirror_ubuntu-bionic-kernel.git] / net / tipc / node.c
index 4512e83652b16da259db9327fe0958c3642e70f1..1dcde24c705381d6230065e3380c14371e5a55dc 100644 (file)
@@ -1607,8 +1607,8 @@ int tipc_nl_peer_rm(struct sk_buff *skb, struct genl_info *info)
                return -EINVAL;
 
        err = nla_parse_nested(attrs, TIPC_NLA_NET_MAX,
-                              info->attrs[TIPC_NLA_NET],
-                              tipc_nl_net_policy);
+                              info->attrs[TIPC_NLA_NET], tipc_nl_net_policy,
+                              NULL);
        if (err)
                return err;
 
@@ -1774,7 +1774,7 @@ int tipc_nl_node_set_link(struct sk_buff *skb, struct genl_info *info)
 
        err = nla_parse_nested(attrs, TIPC_NLA_LINK_MAX,
                               info->attrs[TIPC_NLA_LINK],
-                              tipc_nl_link_policy);
+                              tipc_nl_link_policy, NULL);
        if (err)
                return err;
 
@@ -1902,7 +1902,7 @@ int tipc_nl_node_reset_link_stats(struct sk_buff *skb, struct genl_info *info)
 
        err = nla_parse_nested(attrs, TIPC_NLA_LINK_MAX,
                               info->attrs[TIPC_NLA_LINK],
-                              tipc_nl_link_policy);
+                              tipc_nl_link_policy, NULL);
        if (err)
                return err;
 
@@ -2042,7 +2042,7 @@ int tipc_nl_node_set_monitor(struct sk_buff *skb, struct genl_info *info)
 
        err = nla_parse_nested(attrs, TIPC_NLA_MON_MAX,
                               info->attrs[TIPC_NLA_MON],
-                              tipc_nl_monitor_policy);
+                              tipc_nl_monitor_policy, NULL);
        if (err)
                return err;
 
@@ -2163,7 +2163,7 @@ int tipc_nl_node_dump_monitor_peer(struct sk_buff *skb,
 
                err = nla_parse_nested(mon, TIPC_NLA_MON_MAX,
                                       attrs[TIPC_NLA_MON],
-                                      tipc_nl_monitor_policy);
+                                      tipc_nl_monitor_policy, NULL);
                if (err)
                        return err;