projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe4ccd
)
mptcp: use MPTCPOPT_HMAC_LEN macro
author
Geliang Tang
<geliangtang@gmail.com>
Thu, 10 Dec 2020 22:25:01 +0000
(14:25 -0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 15 Dec 2020 01:30:06 +0000
(17:30 -0800)
Use the macro MPTCPOPT_HMAC_LEN instead of a constant in struct
mptcp_options_received.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/protocol.h
patch
|
blob
|
history
diff --git
a/net/mptcp/protocol.h
b/net/mptcp/protocol.h
index f6c3c686a34ab5ee36bba9aa2fea7a515c4a4456..a5bc9599ae5c613e2767d7d9330cbc2cad48141e 100644
(file)
--- a/
net/mptcp/protocol.h
+++ b/
net/mptcp/protocol.h
@@
-119,7
+119,7
@@
struct mptcp_options_received {
u32 token;
u32 nonce;
u64 thmac;
- u8 hmac[
20
];
+ u8 hmac[
MPTCPOPT_HMAC_LEN
];
u8 join_id;
u8 use_map:1,
dsn64:1,