mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>