Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1215644img; Tue, 26 Feb 2019 16:50:47 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib/LGCYT78qlnLB08RyCf3i8Rug79wmjXnnMbd92/2M0ssrIdIQKQOGb/HAS1k17j5mIEGA X-Received: by 2002:a63:d205:: with SMTP id a5mr274637pgg.142.1551228647405; Tue, 26 Feb 2019 16:50:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551228647; cv=none; d=google.com; s=arc-20160816; b=VNT7ctsyClJYOyiXBojLoiypJ99fBIcFWrmc0PXeMOWPV6Z1sdstMzoT4da3x6Ua6/ emzes3H51mhve55+RBrW0qDoqVV3hy2LOdW9xQaEKjeNhmiNHMXDimtviRU+9SNB38p4 06OgsP/YAwHmYyiD/Oz3rLctisdSWhWwhiL0h6lThJW1d6qhoJ8pa7Rvq99uRAzj8z6R YzB89UufeTfew2eme2Je1K8lUVEzVn+Wwl64B+DNDLDgc+o6acGpox7fkN1j6aKKfiEB kq9V6N83E8nDol3SrYCgXf3NsWovCoBmuordiPKlxoPqn3V2mMmlN2+WC/sxOcRewpmb UnCQ== 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=foDYwXhYnhCrtPta3bRPCykTeqXaHjMRARC/JYNijjA=; b=l4u7C0fpOUkNmRYkUYn1jKnVD7EuoSwucK95wjpB5AuJyYbOro9m0pVx+iBTZI7pf+ VaAhGvfJpOi6Idbs4KD/2UENZ7Z/Rw+o2omChjyhADyDPwm0Tm2lnqbQcw9Og2DW6//w luSoQciaQxThQ0U1oRCb+djsl1kZ4VoB60t07NpeJLHdMZ2xvQKGxG1aDSbdc9Txq6cV ssYHeXtooN76MSiVyVxrjZCwoBnxsBmsnJhlFcIHMW7TJ96Ji7NUfkSPj0DyX3pduu8N fVAjC/rkIkoSECpLj9ZdJy094K6BF5d9bhpPm4fzE7sVnVT/CDPzuwKlDpb7s4IWAwAh 5oVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k1+6v1va; 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 f1si11014786pld.87.2019.02.26.16.50.32; Tue, 26 Feb 2019 16:50:47 -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=k1+6v1va; 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 S1729423AbfB0AuB (ORCPT + 99 others); Tue, 26 Feb 2019 19:50:01 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40478 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729128AbfB0AuB (ORCPT ); Tue, 26 Feb 2019 19:50:01 -0500 Received: by mail-pg1-f195.google.com with SMTP id u9so7039628pgo.7; Tue, 26 Feb 2019 16:50:00 -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=foDYwXhYnhCrtPta3bRPCykTeqXaHjMRARC/JYNijjA=; b=k1+6v1va+pCj053Es0wlGVJNHUb70EoUHdIih0qhTB7wzD7rH5a6wezDRQJHulm9jh HrMqgVlskpAWbWbnkXZ3r/+IeKlTooFwavLotazev58bAnB30uyJGU7rF9iiuRojIu/2 fdur6kVsU2Ppl6mq2F3wVYwNZNY71Fz09PzIJ5DXZAnhATDBsTsO9A9NCftRXW7QNAgu zPjpD1HOMpVwwcD/9aaOCKIbapLKK9j87icqEMk+s+Oq/dItArWJ16BjkDvTUANeFGtj uhrBF/B9F/RT7Uss9fxraiT6paPLXbspt0RNsZcY3vXUDoxqFwVwuJ7ycazB3oXbzmK+ o8bA== 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=foDYwXhYnhCrtPta3bRPCykTeqXaHjMRARC/JYNijjA=; b=kn50D76gu831wY67jlQ4lmn7eLvvjhPGWr+vPv1/rXP3XIdBvu4YHKwCfLTor+Dbvw 61+flwN1qHGALQF6GmsChDXxDld2O8nqfVyleFDz4TdQDMsRCK4W9hs2aF4MsCecvUiw nTqltQ3mT34WIdsqwOHsHuwrIBN1CaUPo2SbdUYQa44qovg918qkhmo0f8pVYHJ4bLsp ChgxVQF8Bo7shMn1jMprYtJFYa3Ygx71ZN4p0YTK2Sso70RdK5xTxLY+oWUUSyqVlXer 9yDf/c+Qs56VMiaf/8FOgLNGFY1cmuxlYuJX+0KtruFeWTpLQiH6yK5Rsm6Y7KllxVcC yYzw== X-Gm-Message-State: AHQUAuYGUEsIWWLx6XTx51vAj/5DN2A4fVN8+I2XxRnDGuXUthnadtc6 ojKYUxmsPNZMN6oSDe0LBnHfmL+UU/g= X-Received: by 2002:a62:4254:: with SMTP id p81mr28887865pfa.185.1551228599964; Tue, 26 Feb 2019 16:49:59 -0800 (PST) Received: from [192.168.1.3] ([171.221.1.102]) by smtp.googlemail.com with ESMTPSA id l28sm1245022pfi.186.2019.02.26.16.49.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 16:49:59 -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> <288b6db2-b14a-4f85-b89c-d873f0f6fcd8@gmail.com> 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 cm9uaGlkZTBudWx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ayk7kxNV/3N7fV XlUNZa0p4USxzt8dN63rHPF+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: Date: Wed, 27 Feb 2019 08:49:56 +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: 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/27/19 00:24, Daniel Borkmann wrote: > On 02/26/2019 03:58 PM, zerons wrote: >> 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. > > Ah, no. Usually that line is placed into stable commits that are > cherry-picked to point to the original commit sha in the mainline > tree. In any case, I didn't find c91951f15978, hence my question. That is v4.20.12. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v4.20.12&id=c91951f15978f1a0c6b65f063d30f7ea7bc6fb42 > Anyway, for normal patch submissions in future, please don't add > it into the log, we'll remove it this time. > Thanks for reminding me. I won't do that again.