From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72A52C433FE for ; Sat, 5 Feb 2022 04:06:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236746AbiBEEGy (ORCPT ); Fri, 4 Feb 2022 23:06:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbiBEEGx (ORCPT ); Fri, 4 Feb 2022 23:06:53 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2235C061346 for ; Fri, 4 Feb 2022 20:06:52 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 84E86B83969 for ; Sat, 5 Feb 2022 04:06:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2920C340E8; Sat, 5 Feb 2022 04:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644034010; bh=oHwFolhoy8q2Ke10k64Qo+dj5HyuGczmRkt9kPfBmoM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nA0gNXL5W5qdY6UsmplxdHQLg1W6EVEKnQv2RfVSVPiZ1CX4HuNI8THOlE5A0kP15 1BPsJ/gowo6VSzKiM4Ter39GIEe1kkXC1Mu3fe54ijWnQj4of6w2YlXj4ub4uOvVRf qTKZdaHgoNTGyWM7HdwOEyKD8ESC2av+XMbG53iqVuhqGksY3cIgbe4LXTevj3WpZ3 2+osuyl+LrjCWe3XqLd7OYsV4jy5sHncifvTdb5PodJ/oCQtO+re9b0YfllTPs4K/L 4RDvM5bJ6G2USjuftVU91269FyE451B+RU8LKSoLGPbd/bwbjNnD8XNyLCsT55xl3a jjkeFrPE9sjTA== Date: Fri, 4 Feb 2022 20:06:48 -0800 From: Jakub Kicinski To: Eric Dumazet Cc: "David S . Miller" , netdev , Eric Dumazet , syzbot , Talal Ahmad , Arjun Roy , Willem de Bruijn , Soheil Hassas Yeganeh Subject: Re: [PATCH net] tcp: take care of mixed splice()/sendmsg(MSG_ZEROCOPY) case Message-ID: <20220204200648.496c7963@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20220203225547.665114-1-eric.dumazet@gmail.com> References: <20220203225547.665114-1-eric.dumazet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, 3 Feb 2022 14:55:47 -0800 Eric Dumazet wrote: > + if (!sk_wmem_schedule(sk, extra)) > + return ENOMEM; Let me make this negative when applying, looks like an inconsequential typo with current callers.