From patchwork Mon Mar 25 15:56:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sabrina Dubroca X-Patchwork-Id: 13602471 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 91A39142901 for ; Mon, 25 Mar 2024 15:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711382217; cv=none; b=U3LoR/llnaXSZkibsNhF3FyJEnPL0jEYT05fZiXpFk7ZAdc58x7qJ8WJ4lZ+ww41m/szhLVfBOhSEHTlzuUvbsGUhNVMO9MfFqjMQBJMDIO6bCXXAiL42KjchhJVYTa/VYsuOpjfPTxY3UFrAWgLPZJl5Ln800uvp+7cYkmFmX0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711382217; c=relaxed/simple; bh=lWH1Mo9esla8kq4NWFe1towTVleSv3HEmtguE8xjAAI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b00Uqd/zSb0qGiY84shgZtSw/jjunSvkH0ZTMqxVWNjq5pPRBHFnHv0wxRtvC+YQi++QuBMQNrtQ4002VXzZCQbBfz3kGW6jQtvmdWfOr95ZwG5ubcKJwZjpAMtg2oCZgy4uMBMtJMvDDw3niyQnDMTagXskgWtd4tb73zpLl94= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net; spf=none smtp.mailfrom=queasysnail.net; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=queasysnail.net Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=queasysnail.net Received: by mail.gandi.net (Postfix) with ESMTPSA id 5E1562000E; Mon, 25 Mar 2024 15:56:51 +0000 (UTC) From: Sabrina Dubroca To: netdev@vger.kernel.org Cc: Sabrina Dubroca , Boris Pismenny , John Fastabend , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni Subject: [PATCH net 0/4] tls: recvmsg fixes Date: Mon, 25 Mar 2024 16:56:44 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-GND-Sasl: sd@queasysnail.net X-Patchwork-Delegate: kuba@kernel.org The first two fixes are again related to async decrypt. The last one is unrelated but I stumbled upon it while reading the code. Sabrina Dubroca (4): tls: recv: process_rx_list shouldn't use an offset with kvec tls: adjust recv return with async crypto and failed copy to userspace selftests: tls: add test with a partially invalid iov tls: get psock ref after taking rxlock to avoid leak net/tls/tls_sw.c | 7 +++++-- tools/testing/selftests/net/tls.c | 34 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 2 deletions(-)