]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/core/neighbour.c
netlink: pass extended ACK struct to parsing functions
[karo-tx-linux.git] / net / core / neighbour.c
index 8ae87c591c8e71f27de4008666684044884762de..31f37b264710c279a70f7c64693abacb475a5fd2 100644 (file)
@@ -1661,7 +1661,7 @@ static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh)
        int err;
 
        ASSERT_RTNL();
-       err = nlmsg_parse(nlh, sizeof(*ndm), tb, NDA_MAX, NULL);
+       err = nlmsg_parse(nlh, sizeof(*ndm), tb, NDA_MAX, NULL, NULL);
        if (err < 0)
                goto out;
 
@@ -1946,7 +1946,7 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh)
        int err, tidx;
 
        err = nlmsg_parse(nlh, sizeof(*ndtmsg), tb, NDTA_MAX,
-                         nl_neightbl_policy);
+                         nl_neightbl_policy, NULL);
        if (err < 0)
                goto errout;
 
@@ -1984,7 +1984,7 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh)
                int i, ifindex = 0;
 
                err = nla_parse_nested(tbp, NDTPA_MAX, tb[NDTA_PARMS],
-                                      nl_ntbl_parm_policy);
+                                      nl_ntbl_parm_policy, NULL);
                if (err < 0)
                        goto errout_tbl_lock;
 
@@ -2275,7 +2275,7 @@ static int neigh_dump_table(struct neigh_table *tbl, struct sk_buff *skb,
        unsigned int flags = NLM_F_MULTI;
        int err;
 
-       err = nlmsg_parse(nlh, sizeof(struct ndmsg), tb, NDA_MAX, NULL);
+       err = nlmsg_parse(nlh, sizeof(struct ndmsg), tb, NDA_MAX, NULL, NULL);
        if (!err) {
                if (tb[NDA_IFINDEX])
                        filter_idx = nla_get_u32(tb[NDA_IFINDEX]);