summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2011-03-31 23:38:54 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-01 21:45:50 -0700
commit028dba0ac3fc3c82da06110b011fce22a5ffad00 (patch)
tree1285e03640f24a834fcb249af4dcbff9e8943f58 /net/sctp
parent4dd5ffe4fc36128dc86568ddeaeae359e6037762 (diff)
downloadop-kernel-dev-028dba0ac3fc3c82da06110b011fce22a5ffad00.zip
op-kernel-dev-028dba0ac3fc3c82da06110b011fce22a5ffad00.tar.gz
sctp: fix auth_hmacs field's length of struct sctp_cookie
auth_hmacs field of struct sctp_cookie is used for store Requested HMAC Algorithm Parameter, and each HMAC Identifier is 2 bytes, so the length should be: SCTP_AUTH_NUM_HMACS * sizeof(__u16) + 2 Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud