mbox series

[net,0/2] mptcp: Prevent tcp_push() crash and selftest temp file buildup

Message ID 20210828001731.67757-1-mathew.j.martineau@linux.intel.com
Headers show
Series mptcp: Prevent tcp_push() crash and selftest temp file buildup | expand

Message

Mat Martineau Aug. 28, 2021, 12:17 a.m. UTC
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