Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp683441img; Tue, 26 Feb 2019 06:58:54 -0800 (PST) X-Google-Smtp-Source: AHgI3IYQx29rx/OY8/nuuduK2VHJEbrFyW4kp3YWJVQaSM3fl9Py3yp9uvM1cmZx7I2eYM8PVtEy X-Received: by 2002:a65:620f:: with SMTP id d15mr24927114pgv.112.1551193134428; Tue, 26 Feb 2019 06:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551193134; cv=none; d=google.com; s=arc-20160816; b=bbFyrM2sfJGpGXhXnxaneMwxLEIGNNqGP4egwM88u96nb8W3y07bp8mFFJhFfjBRjL n1wiPImy64eBuVcIwxKFEDIZDULZTwkcIk4MtaOBLj2Zv2iDvW30T32VIoz017FHV4I+ yBrD2srBvDGVeyWf/aFYTucno+tjAqzVm/1Z2DagjtO4X53Pz2trcb5XIOpt4pAcI/1c ZNxgM65UDcPw8/1kPZSB1kdRhXwZ2QQ2s8y0WJRNAFqcWbxW/A7SszSr+V2vFTDLV7G/ kMvTZL7RyVtkbUFqU5Yv/hSwEk57Se20V/7Gdpe7cAX7AzlSeTo1AV6kdqF52VIV/0iI cYfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:subject:autocrypt:openpgp:from:references:cc:to :dkim-signature; bh=1Ugw5U3rEFhFsPaTQK85WKxkcVggsLUqRpV986657cI=; b=USdVOXFzGx+pGPondOCARHxesQnn/Xm/3PSGvCVrWpRpa9KnvZX4wepKhf9JkCLOrA kOxZlqPq1iLVn8VbMTiylkCLPwreqAJAhWrgODsPUjzh4SslAYu5UGLYRIR3C/q1DHPD SI7e8gEyqpRdEvULA0c9DahI8cDIVXyVQiEbLAXn5vxyFf9iH5KWp45gYXZgSxCnLXcX QpMjVlUL4qpsv3YEEHhBSnisrkwEnXJLkafU4LzyldAFhNjzvo/nGJpANAdZIc5QQDsR DuYQsCJrgNg652VvoaTxmp/7ugLefA9ya6FU9U3/x/55I2yvgYpbQoWwzXEzbnCBmv/H HkVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vHqlxpl5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si1985814pfm.57.2019.02.26.06.58.39; Tue, 26 Feb 2019 06:58:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vHqlxpl5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728367AbfBZO6K (ORCPT + 99 others); Tue, 26 Feb 2019 09:58:10 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:43493 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727505AbfBZO6K (ORCPT ); Tue, 26 Feb 2019 09:58:10 -0500 Received: by mail-pg1-f193.google.com with SMTP id l11so6318719pgq.10; Tue, 26 Feb 2019 06:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:cc:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1Ugw5U3rEFhFsPaTQK85WKxkcVggsLUqRpV986657cI=; b=vHqlxpl57qdXh9WvnSUU+PrDPRTMMoM0R93Z1/kqVbA06T293hiNMwrSpqMqoQLbOl xFrGLGrhtoMPm+1bd8FU+JEI5njG+sIgchSmLmuj9vzlzKPz3Tf/3km1xL9gbuOyPH+O tn70et127Z4rmKXfQJnwt+pGKBu7F94LaWPH8ISkHy+ITm9vz0yrMLPEOBROyMeftUj1 n9uI09ffhuHsYb9XBne5C4Wd1XNADEktwZS1OLpB9G0E8tSzE6DbcoL3QvR68BOeXAdA UhuEYl8TKeg3eFYFSa3zHd+pbffGY+laN7kB6zyMvM+KUvJKw9ULFC/CTCwZmj+ZhKvz RivA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:openpgp:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=1Ugw5U3rEFhFsPaTQK85WKxkcVggsLUqRpV986657cI=; b=FKg3sD3s644jvMYLNIBbUIFwvEYUSGxqEhebcy6Y1iQtIwdwOs44HaC1xpaHm26gh3 8eEqTgGgblYoSCEgvn0bfL1k6rOjQETbLPuCWSRc73eZbNYRb16R/cGDnNd6f5bvw7GS cWIz5UMnZRTVG4ilWlzTuZJT+0jqeXHhkIohx/hxRvrapQ6OPLpvJyEDFPk96Oj/WEMr AVlF2B3qAeuJ/o2CFauv0CEBV+yuR1Vg42aDqIelwpNwtRbqB5G9IGO1GfXjGGlCu8FI N6QTo86dKKrpsQF2bY/wSUeYT4qRp4rae6dLrI289c3ni1f+lu/9UdXNhkH8kCEI2yxd PxBg== X-Gm-Message-State: AHQUAuZz/JTE70n9WiyLy1Qo1yFP7aLyevIcPA8GT2vKmEEB/GTnrwQH F9GlZYFBcKG8jC+LO6X+3GVam1ihWhk= X-Received: by 2002:a63:6a88:: with SMTP id f130mr24553313pgc.114.1551193089218; Tue, 26 Feb 2019 06:58:09 -0800 (PST) Received: from [192.168.1.3] ([171.221.1.102]) by smtp.googlemail.com with ESMTPSA id s79sm3136095pfa.61.2019.02.26.06.58.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 06:58:08 -0800 (PST) To: Daniel Borkmann , ast@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1551190537-28694-1-git-send-email-sironhide0null@gmail.com> <564058e0-1432-676e-2f83-c8694911d8e5@iogearbox.net> From: zerons Openpgp: preference=signencrypt Autocrypt: addr=sironhide0null@gmail.com; prefer-encrypt=mutual; keydata= mQINBFqSNZABEADoE7WblNYUI4Bf/iM1aGK17GWSVevBMktU98RnvXqkh8u4366Wo0Xgh2RQ XZ60qVIFxV/6vUZwg2lK1gIJdEkPEb6anIzaZs8b06DurDUHmHJuzxwe8Tpb1VWGorr0v8aT nFlg/CtO+IoT5YZMY77LC4cH+UC1H3soRgnY8wgdrQgMz2pWGIg8GCjhT2is6mimRgQctPJa pxqwxIRpHJvgoARD/0xO2h545Ij11AeyDmoKNiVCNsmv3bDCB7xZXxpL1C5ROXzR4b0jcFGp +Qw0DNKSEIbHwSZ9m7CiuRefAu0NaCxvrldgihbLS7M28bFXqWPLqmEdbhPVRr3CcDXbYPhl J+IkSc0DIg+w/ebgnzQQe4h5eKcio1HrOghgFya1zSBNPcncsE09HEat3D7QzI2kvhY4g4Z6 rN0JV1Hi/C0GvoB7N9rDjSSt088RBkikd/8Ebp6juCIEhAzRNJQvdf+nG7nMkilpXCQlQ/Nt dui56V66PsjnVX2FL2o3o7MYT39FQkRvYs73Ooa1H5TWczQ1E75W60YqBvb3JZtA5Hheno8V vHZwsOxBjSqJFimoa7ly3PpU1MnWEIvLNXqpbUDQN/i1vxlF0qttS1+CoGmAarhWLLApphhJ ojmmS9OJ0oAvemxZCHiOMKo61xNfeh30WOShn8qmJqN2hKE67QARAQABtCF6ZXJvbnMgPHNp cm9uaGlkZTBudWxsQGdtYWlsLmNvbT6JAj0EEwE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zt8dN63rHPF+fxg8VFih1vbOr9orwW3s8Em+xQYEvYeyn0gMdxnqAGBKwtm5 y15T+hE= Subject: Re: [PATCH] bpf: decrease usercnt if bpf_map_new_fd() fails in bpf_map_get_fd_by_id() Message-ID: <288b6db2-b14a-4f85-b89c-d873f0f6fcd8@gmail.com> Date: Tue, 26 Feb 2019 22:58:06 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <564058e0-1432-676e-2f83-c8694911d8e5@iogearbox.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-CA Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/26/19 22:44, Daniel Borkmann wrote: > On 02/26/2019 03:15 PM, zerons wrote: >> [ Upstream commit c91951f15978f1a0c6b65f063d30f7ea7bc6fb42 ] > > Thanks for the fix! What do you mean by "upstream commit" above in this context? > This patch is based on that commit, I thought I should mention this. Sorry for the confusion.