]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/netfilter/nf_conntrack_proto_sctp.c
netlink: pass extended ACK struct to parsing functions
[mirror_ubuntu-bionic-kernel.git] / net / netfilter / nf_conntrack_proto_sctp.c
index 33279aab583d5eac3016b4a58f6bf2ea8b457395..2a7300587c87ce6c8cf921bba0bb50f929532885 100644 (file)
@@ -584,10 +584,8 @@ static int nlattr_to_sctp(struct nlattr *cda[], struct nf_conn *ct)
        if (!attr)
                return 0;
 
-       err = nla_parse_nested(tb,
-                              CTA_PROTOINFO_SCTP_MAX,
-                              attr,
-                              sctp_nla_policy);
+       err = nla_parse_nested(tb, CTA_PROTOINFO_SCTP_MAX, attr,
+                              sctp_nla_policy, NULL);
        if (err < 0)
                return err;