]> exis.tech > repos - linux.git/blobdiff - include/net/sctp/structs.h
Merge tag 'hwmon-for-v7.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/groec...
[linux.git] / include / net / sctp / structs.h
index affee44bd38e31f71cd8da75e3dd983840b52209..cccc662561aac391999148ce8ae0e8df03f08d67 100644 (file)
@@ -312,7 +312,8 @@ struct sctp_cookie {
 
        __u8 auth_random[sizeof(struct sctp_paramhdr) +
                         SCTP_AUTH_RANDOM_LENGTH];
-       __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2];
+       __u8 auth_hmacs[sizeof(struct sctp_paramhdr) +
+                       SCTP_AUTH_NUM_HMACS * sizeof(__u16)];
        __u8 auth_chunks[sizeof(struct sctp_paramhdr) + SCTP_AUTH_MAX_CHUNKS];
 
        /* This is a shim for my peer's INIT packet, followed by