mptcp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup
@ 2021-08-28  0:17 Mat Martineau
  2021-08-28  0:17 ` [PATCH net 1/2] mptcp: fix possible divide by zero Mat Martineau
  2021-08-28  0:17 ` [PATCH net 2/2] selftests: mptcp: clean tmp files in simult_flows Mat Martineau
  0 siblings, 2 replies; 4+ messages in thread
From: Mat Martineau @ 2021-08-28  0:17 UTC (permalink / raw)
  To: netdev; +Cc: Mat Martineau, davem, kuba, matthieu.baerts, mptcp, pabeni

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.


Matthieu Baerts (1):
  selftests: mptcp: clean tmp files in simult_flows

Paolo Abeni (1):
  mptcp: fix possible divide by zero

 net/mptcp/protocol.c                          | 78 +++++++++----------
 .../selftests/net/mptcp/simult_flows.sh       |  4 +-
 2 files changed, 39 insertions(+), 43 deletions(-)


base-commit: 5fe2a6b4344cbb2120d6d81e371b7ec8e75f03e2
-- 
2.33.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-30 23:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  0:17 [PATCH net 0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup Mat Martineau
2021-08-28  0:17 ` [PATCH net 1/2] mptcp: fix possible divide by zero Mat Martineau
2021-08-30 23:57   ` Jakub Kicinski
2021-08-28  0:17 ` [PATCH net 2/2] selftests: mptcp: clean tmp files in simult_flows Mat Martineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).