diff options
author | 2021-09-01 10:55:51 -0700 | |
---|---|---|
committer | 2021-09-01 10:55:51 -0700 | |
commit | 36e784a60b85eb41a34b3232e95bf111931b9b09 (patch) | |
tree | 306543d6fd15ed7268a931143ea5c74c77a46eb4 /tools | |
parent | mptcp: Fix duplicated argument in protocol.h (diff) | |
parent | selftests: mptcp: clean tmp files in simult_flows (diff) | |
download | linux-dev-36e784a60b85eb41a34b3232e95bf111931b9b09.tar.xz linux-dev-36e784a60b85eb41a34b3232e95bf111931b9b09.zip |
Merge branch 'mptcp-prevent-tcp_push-crash-and-selftest-temp-file-buildup'
Mat Martineau says:
====================
mptcp: Prevent tcp_push() crash and selftest temp file buildup
These are two fixes for the net tree, addressing separate issues.
Patch 1 addresses a divide-by-zero crash seen in syzkaller and also
reported by a user on the netdev list. This changes MPTCP code so
tcp_push() cannot be called with an invalid (0) mss_now value.
Patch 2 fixes a selftest temp file cleanup issue that consumes excessive
disk space when running repeated tests.
====================
Link: https://lore.kernel.org/r/20210901171537.121255-1-mathew.j.martineau@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/net/mptcp/simult_flows.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/mptcp/simult_flows.sh b/tools/testing/selftests/net/mptcp/simult_flows.sh index fd63ebfe9a2b..910d8126af8f 100755 --- a/tools/testing/selftests/net/mptcp/simult_flows.sh +++ b/tools/testing/selftests/net/mptcp/simult_flows.sh @@ -22,8 +22,8 @@ usage() { cleanup() { - rm -f "$cin" "$cout" - rm -f "$sin" "$sout" + rm -f "$cout" "$sout" + rm -f "$large" "$small" rm -f "$capout" local netns |