From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A297A70 for ; Fri, 23 Apr 2021 14:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619189417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=57zxk9mBayAa7/zdWQHflf4SkhZrrf+mbr4hzw8b8Ng=; b=F4TU6pkkC5bqXuYlgvENXy+4xon4liyGIJfOKPDd1pj9ZvO2z74TRDRtw++y396UxWwk98 eJC/bw2ulpv8jTX8Cc17sna3+y3PzStq6iuz29Hh1+GySTOwCNc07E2GFjdFK6r17q/djN TEP2J5TnNH6ZOvYixYRAeblnkAXjbok= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-505-5bsAMaeuO0q0Qv8d3Dea0g-1; Fri, 23 Apr 2021 10:50:15 -0400 X-MC-Unique: 5bsAMaeuO0q0Qv8d3Dea0g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 57E9A83DD25; Fri, 23 Apr 2021 14:50:14 +0000 (UTC) Received: from gerbillo.redhat.com (ovpn-115-60.ams2.redhat.com [10.36.115.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 88C8B19D9B; Fri, 23 Apr 2021 14:50:13 +0000 (UTC) From: Paolo Abeni To: mptcp@lists.linux.dev Cc: Geliang Tang Subject: [PATCH v4 mptcp-next 00/22] mptcp: data checksum support Date: Fri, 23 Apr 2021 16:49:39 +0200 Message-Id: X-Mailing-List: mptcp@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pabeni@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Changes from v3: - included Geliang's feedback - hopefully fixed wrong csum computation in the rx path for DSS+data_fin Changes from v2: - implement RFC behavior WRT csum failure and csum mismatch - cope with zero win probe and re-injection - fix csum computation for DSS with data_fin flag set Only some Squash-to patches has been changes WRT the previous iteration. There is still at least a ough edge: - the csum computation in the tx path is very suboptimal. Anyhow, I propose to address the above with additional squash-to patches to avoid complex/extra long review cycles. Geliang Tang (14): mptcp: add csum_enabled in mptcp_sock mptcp: generate the data checksum mptcp: add csum_reqd in mptcp_out_options mptcp: send out checksum for MP_CAPABLE with data mptcp: send out checksum for DSS mptcp: add sk parameter for mptcp_parse_option mptcp: add csum_reqd in mptcp_options_received mptcp: receive checksum for MP_CAPABLE with data mptcp: receive checksum for DSS mptcp: validate the data checksum mptcp: add the mib for data checksum mptcp: add a new sysctl checksum_enabled selftests: mptcp: enable checksum in mptcp_connect.sh selftests: mptcp: enable checksum in mptcp_join.sh Paolo Abeni (8): Squash-to: "mptcp: generate the data checksum" Squash-to: "mptcp: send out checksum for MP_CAPABLE with data" Squash-to "mptcp: send out checksum for DSS" Squash-to: "mptcp: receive checksum for MP_CAPABLE with data" Squash-to: "mptcp: receive checksum for DSS" Squash-to: mptcp: validate the data checksum mptcp: cleanup error path in subflow_check_data_avail() mptcp: tune re-injections for csum enabled mode. Documentation/networking/mptcp-sysctl.rst | 8 + include/net/mptcp.h | 7 +- include/uapi/linux/mptcp.h | 1 + net/mptcp/ctrl.c | 14 ++ net/mptcp/mib.c | 1 + net/mptcp/mib.h | 1 + net/mptcp/mptcp_diag.c | 1 + net/mptcp/options.c | 142 +++++++++++++----- net/mptcp/protocol.c | 39 ++++- net/mptcp/protocol.h | 23 ++- net/mptcp/subflow.c | 142 +++++++++++++++--- .../selftests/net/mptcp/mptcp_connect.sh | 13 +- .../testing/selftests/net/mptcp/mptcp_join.sh | 107 ++++++++++++- 13 files changed, 423 insertions(+), 76 deletions(-) -- 2.26.2