summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/structs.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-04 10:39:12 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-04 10:39:12 -0700
commit083dd8b8aacfcb62d65fb53ec744090879dd8150 (patch)
treed48017ad6caa13f5a31c23186b16c36a84776c49 /include/net/sctp/structs.h
parent95b8fbada76d978ce13a26785f8b85ff54478bb2 (diff)
parenta14b289d4614bb3b25d0455d68f72f3c7b4cc8e8 (diff)
downloadtalos-op-linux-083dd8b8aacfcb62d65fb53ec744090879dd8150.tar.gz
talos-op-linux-083dd8b8aacfcb62d65fb53ec744090879dd8150.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r--include/net/sctp/structs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index cc9185ca8fd1..0f6e60a9c308 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -422,7 +422,7 @@ struct sctp_cookie {
__u32 adaptation_ind;
__u8 auth_random[sizeof(sctp_paramhdr_t) + SCTP_AUTH_RANDOM_LENGTH];
- __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS + 2];
+ __u8 auth_hmacs[SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2];
__u8 auth_chunks[sizeof(sctp_paramhdr_t) + SCTP_AUTH_MAX_CHUNKS];
/* This is a shim for my peer's INIT packet, followed by
OpenPOWER on IntegriCloud