diff options
| author | Wei Yongjun <[email protected]> | 2011-03-31 23:38:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-04-02 04:45:50 +0000 |
| commit | 028dba0ac3fc3c82da06110b011fce22a5ffad00 (patch) | |
| tree | 1285e03640f24a834fcb249af4dcbff9e8943f58 /net/ipv4/tcp_output.c | |
| parent | net: Fix dev dev_ethtool_get_rx_csum() for forced NETIF_F_RXCSUM (diff) | |
| download | kernel-028dba0ac3fc3c82da06110b011fce22a5ffad00.tar.gz kernel-028dba0ac3fc3c82da06110b011fce22a5ffad00.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
