diff options
author | Jianguo Wu <wujianguo@chinatelecom.cn> | 2021-07-09 17:20:49 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-09 18:38:53 -0700 |
commit | 6787b7e350d3552651a3422d3d8980fbc8d65368 (patch) | |
tree | 88daa792c9080e57f9834d973dcbb6b253d27bcd /samples/landlock | |
parent | 8547ea5f52dd8ef19b69c25c41b1415481b3503b (diff) |
mptcp: avoid processing packet if a subflow reset
If check_fully_established() causes a subflow reset, it should not
continue to process the packet in tcp_data_queue().
Add a return value to mptcp_incoming_options(), and return false if a
subflow has been reset, else return true. Then drop the packet in
tcp_data_queue()/tcp_rcv_state_process() if mptcp_incoming_options()
return false.
Fixes: d582484726c4 ("mptcp: fix fallback for MP_JOIN subflows")
Signed-off-by: Jianguo Wu <wujianguo@chinatelecom.cn>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/landlock')
0 files changed, 0 insertions, 0 deletions