From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: netdev@vger.kernel.org
Cc: Mat Martineau <mathew.j.martineau@linux.intel.com>,
davem@davemloft.net, kuba@kernel.org,
matthieu.baerts@tessares.net, mptcp@lists.linux.dev,
pabeni@redhat.com
Subject: [PATCH net v2 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup
Date: Tue, 31 Aug 2021 10:19:24 -0700 [thread overview]
Message-ID: <20210831171926.80920-1-mathew.j.martineau@linux.intel.com> (raw)
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.
v2: Make suggested changes to lockdep check and indentation in patch 1
Matthieu Baerts (1):
selftests: mptcp: clean tmp files in simult_flows
Paolo Abeni (1):
mptcp: fix possible divide by zero
net/mptcp/protocol.c | 76 +++++++++----------
.../selftests/net/mptcp/simult_flows.sh | 4 +-
2 files changed, 37 insertions(+), 43 deletions(-)
base-commit: 57f780f1c43362b86fd23d20bd940e2468237716
--
2.33.0
next reply other threads:[~2021-08-31 17:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 17:19 Mat Martineau [this message]
2021-08-31 17:19 ` [PATCH net v2 1/2] mptcp: fix possible divide by zero Mat Martineau
2021-08-31 17:19 ` [PATCH net v2 2/2] selftests: mptcp: clean tmp files in simult_flows Mat Martineau
2021-09-01 16:09 ` [PATCH net v2 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup Matthieu Baerts
2021-09-01 17:16 ` Jakub Kicinski
2021-09-01 17:19 ` Matthieu Baerts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210831171926.80920-1-mathew.j.martineau@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=matthieu.baerts@tessares.net \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox