]> git.itanic.dy.fi Git - linux-stable/commit
Merge branch 'mptcp-better-validation-of-mptcpopt_mp_join-option'
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Jan 2024 02:14:23 +0000 (18:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jan 2024 02:14:24 +0000 (18:14 -0800)
commit68d27badef6280298b84333be313f58cbdce2769
treeb1523330ba770e29b564f252b87adef37cfa2e32
parentcbdd50ec8b1daef6d71fb3325e436c8dec2d2e15
parent724b00c12957973656d312dce2a110c75ae2c680
Merge branch 'mptcp-better-validation-of-mptcpopt_mp_join-option'

Eric Dumazet says:

====================
mptcp: better validation of MPTCPOPT_MP_JOIN option

Based on a syzbot report (see 4th patch in the series).

We need to be more explicit about which one of the
following flag is set by mptcp_parse_option():

- OPTION_MPTCP_MPJ_SYN
- OPTION_MPTCP_MPJ_SYNACK
- OPTION_MPTCP_MPJ_ACK

Then select the appropriate values instead of OPTIONS_MPTCP_MPJ

Paolo suggested to do the same for OPTIONS_MPTCP_MPC (5th patch)
====================

Link: https://lore.kernel.org/r/20240111194917.4044654-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>