| .. | .. |
|---|
| 125 | 125 | [ILA_ATTR_HOOK_TYPE] = { .type = NLA_U8, }, |
|---|
| 126 | 126 | }; |
|---|
| 127 | 127 | |
|---|
| 128 | | -static int ila_build_state(struct nlattr *nla, |
|---|
| 128 | +static int ila_build_state(struct net *net, struct nlattr *nla, |
|---|
| 129 | 129 | unsigned int family, const void *cfg, |
|---|
| 130 | 130 | struct lwtunnel_state **ts, |
|---|
| 131 | 131 | struct netlink_ext_ack *extack) |
|---|
| .. | .. |
|---|
| 146 | 146 | if (family != AF_INET6) |
|---|
| 147 | 147 | return -EINVAL; |
|---|
| 148 | 148 | |
|---|
| 149 | | - ret = nla_parse_nested(tb, ILA_ATTR_MAX, nla, ila_nl_policy, extack); |
|---|
| 149 | + ret = nla_parse_nested_deprecated(tb, ILA_ATTR_MAX, nla, |
|---|
| 150 | + ila_nl_policy, extack); |
|---|
| 150 | 151 | if (ret < 0) |
|---|
| 151 | 152 | return ret; |
|---|
| 152 | 153 | |
|---|