aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r--net/tipc/net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c
index 0bba4e6b005c..85707c185360 100644
--- a/net/tipc/net.c
+++ b/net/tipc/net.c
@@ -245,9 +245,9 @@ int __tipc_nl_net_set(struct sk_buff *skb, struct genl_info *info)
245 if (!info->attrs[TIPC_NLA_NET]) 245 if (!info->attrs[TIPC_NLA_NET])
246 return -EINVAL; 246 return -EINVAL;
247 247
248 err = nla_parse_nested(attrs, TIPC_NLA_NET_MAX, 248 err = nla_parse_nested_deprecated(attrs, TIPC_NLA_NET_MAX,
249 info->attrs[TIPC_NLA_NET], tipc_nl_net_policy, 249 info->attrs[TIPC_NLA_NET],
250 info->extack); 250 tipc_nl_net_policy, info->extack);
251 251
252 if (err) 252 if (err)
253 return err; 253 return err;