]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/sctp/sctp_diag.c
netfilter: ipset: Fix an error code in ip_set_sockfn_get()
[mirror_ubuntu-bionic-kernel.git] / net / sctp / sctp_diag.c
index a72a7d925d4631e30cfb0743df392ff4cef456ca..75274a60b77ab0f40903ae0ea38c633085b0a336 100644 (file)
@@ -225,6 +225,7 @@ static size_t inet_assoc_attr_size(struct sctp_association *asoc)
                + nla_total_size(1) /* INET_DIAG_TOS */
                + nla_total_size(1) /* INET_DIAG_TCLASS */
                + nla_total_size(4) /* INET_DIAG_MARK */
+               + nla_total_size(4) /* INET_DIAG_CLASS_ID */
                + nla_total_size(addrlen * asoc->peer.transport_count)
                + nla_total_size(addrlen * addrcnt)
                + nla_total_size(sizeof(struct inet_diag_meminfo))