Commit ba34c3de authored by Geliang Tang's avatar Geliang Tang Committed by Jakub Kicinski

mptcp: use MPTCPOPT_HMAC_LEN macro

Use the macro MPTCPOPT_HMAC_LEN instead of a constant in struct
mptcp_options_received.
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarMat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6fe4ccdc
...@@ -119,7 +119,7 @@ struct mptcp_options_received { ...@@ -119,7 +119,7 @@ struct mptcp_options_received {
u32 token; u32 token;
u32 nonce; u32 nonce;
u64 thmac; u64 thmac;
u8 hmac[20]; u8 hmac[MPTCPOPT_HMAC_LEN];
u8 join_id; u8 join_id;
u8 use_map:1, u8 use_map:1,
dsn64:1, dsn64:1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment