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 3032AC6FD1D for ; Sat, 1 Apr 2023 19:51:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229452AbjDATvd (ORCPT ); Sat, 1 Apr 2023 15:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjDATvc (ORCPT ); Sat, 1 Apr 2023 15:51:32 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 929159750 for ; Sat, 1 Apr 2023 12:51:31 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id l12so25568648wrm.10 for ; Sat, 01 Apr 2023 12:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680378690; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zDCm8vmIDPLinAQT4FoJ9EosJ4cjEDXsOXudjo4YkUM=; b=ch/d1Rmh2g63FuvRA1ulOUTaNVczIv12LXcqmSSvoe9v79yZ4aOKd8KOVP/VoRiiCZ 1Uxjt1JPcIoRstadwXiLZzqui1cdPuSUetYgtYBcwbCRPR1GvRWgzeRng1a2+L9IzwZP nJXxk0BZChDNsbiHHU9pCM/vwZL23MAe7Nu4cEu8nR8x2r7I9ROoit/YYkD21dxMchMv B/vPQZAhJzl9JpAfzX45U+WBTZ1iPiPIg5Yv5lDPwhgZjiQdV9SMpMqFd+5vJdhOroVL dpFpKUzyIkSZji9Um+TWIaeU+pLLWYCLhBDOPNn1cY/Ldz0zX3GpK+QiV9qOfMzmPt2d cvgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680378690; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zDCm8vmIDPLinAQT4FoJ9EosJ4cjEDXsOXudjo4YkUM=; b=dkb8LvSH/FuoU39zykFvVtCcPc472uN1hzhaViv5ELHakGIkZF3SCmx3dHvmmc82Hi jPBY3v6xN2tnSV2qUuc6vvaXUHnsBb8rD8hcelXjIrypve+LiSqZWgZ1oil9s3yMWrYc xrkhbx2P3KVvzlS/xPYbntlKOewVwbIMRDt/PyjVJQPNOOZ5mQP4ESlRge+nIGWlaApR DsOsRYIJYDJ7uOQLKwmHUwA8JM7ZOY/wVhDdcwpQFdI9ShzTyalVlKuhrEpyYeqJJF4S fZj5Ua+cJgni1hChCiPleDvxl1mgzzD2VUpCq9nWqeZkhhbu/lJeTiQ1Oqr3XryIgY88 0HKw== X-Gm-Message-State: AAQBX9cgu3Bu0fSy+XSkyAuhF/HzTJPuAnAz8cchkFSYwBddBtqpcxTi P5jPL3hno7R1rSPlsYNQV58= X-Google-Smtp-Source: AKy350ZdErVfOpwaLxvBHFZSybTH1iZcbqx0GagnvLTdcFkjrxkulAnoiCMZ4Uf6DeNxAuPWzzSsLw== X-Received: by 2002:adf:eace:0:b0:2cf:e3d0:2a43 with SMTP id o14-20020adfeace000000b002cfe3d02a43mr26782988wrn.4.1680378689860; Sat, 01 Apr 2023 12:51:29 -0700 (PDT) Received: from localhost.localdomain ([152.37.82.41]) by smtp.gmail.com with ESMTPSA id b6-20020a5d5506000000b002e463bd49e3sm5561009wrv.66.2023.04.01.12.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Apr 2023 12:51:29 -0700 (PDT) From: Wojciech Lukowicz To: Jens Axboe Cc: io-uring@vger.kernel.org, Wojciech Lukowicz Subject: [PATCH 0/2] fixes for removing provided buffers Date: Sat, 1 Apr 2023 20:50:37 +0100 Message-Id: <20230401195039.404909-1-wlukowicz01@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi, Two fixes for removing provided buffers. They are in the same area, but otherwise unrelated. I'll send a liburing test for the first one shortly. Thanks, Wojciech Wojciech Lukowicz (2): io_uring: fix return value when removing provided buffers io_uring: fix memory leak when removing provided buffers io_uring/io_uring.c | 2 +- io_uring/kbuf.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) -- 2.30.2