kernel_optimize_test/net/mptcp
Jianguo Wu 116d5cdfac mptcp: generate subflow hmac after mptcp_finish_join()
[ Upstream commit 0a4d8e96e4fd687af92b961d5cdcea0fdbde05fe ]

For outgoing subflow join, when recv SYNACK, in subflow_finish_connect(),
the mptcp_finish_join() may return false in some cases, and send a RESET
to remote, and no local hmac is required.
So generate subflow hmac after mptcp_finish_join().

Fixes: ec3edaa7ca ("mptcp: Add handling of outgoing MP_JOIN requests")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:17 +02:00
..
crypto_test.c
crypto.c
ctrl.c
diag.c
Kconfig
Makefile
mib.c
mib.h
mptcp_diag.c
options.c mptcp: Fix out of bounds when parsing TCP options 2021-06-23 14:42:43 +02:00
pm_netlink.c
pm.c
protocol.c mptcp: try harder to borrow memory from subflow under pressure 2021-06-23 14:42:43 +02:00
protocol.h
subflow.c mptcp: generate subflow hmac after mptcp_finish_join() 2021-07-14 16:56:17 +02:00
syncookies.c
token_test.c
token.c mptcp: fix pr_debug in mptcp_token_new_connect 2021-07-14 16:56:17 +02:00