diff options
Diffstat (limited to 'net/tipc/socket.c')
-rw-r--r-- | net/tipc/socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 7918f4763fdc..145e4decb0c9 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -3599,9 +3599,9 @@ int tipc_nl_publ_dump(struct sk_buff *skb, struct netlink_callback *cb) | |||
3599 | if (!attrs[TIPC_NLA_SOCK]) | 3599 | if (!attrs[TIPC_NLA_SOCK]) |
3600 | return -EINVAL; | 3600 | return -EINVAL; |
3601 | 3601 | ||
3602 | err = nla_parse_nested(sock, TIPC_NLA_SOCK_MAX, | 3602 | err = nla_parse_nested_deprecated(sock, TIPC_NLA_SOCK_MAX, |
3603 | attrs[TIPC_NLA_SOCK], | 3603 | attrs[TIPC_NLA_SOCK], |
3604 | tipc_nl_sock_policy, NULL); | 3604 | tipc_nl_sock_policy, NULL); |
3605 | if (err) | 3605 | if (err) |
3606 | return err; | 3606 | return err; |
3607 | 3607 | ||