Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3353729imm; Thu, 17 May 2018 07:29:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoCcHF15SI8nm+mLoFUH0UDO0242Kch357JKrNy0JKitEYOrGpTDGmdASwMzFslGqMEiePE X-Received: by 2002:a17:902:6113:: with SMTP id t19-v6mr5343200plj.372.1526567380968; Thu, 17 May 2018 07:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526567380; cv=none; d=google.com; s=arc-20160816; b=JzpmiPx3uWKprmaRjmAtQwMI1ptTxKuwoC7VdsyoNSHfTqSeT/LqE3Svo/em0LUjRC hGne65KTgy028tfycy7HX++9hR2Wqks8KYBLqBpZzrJoWwcx9I6iPQMFjMTG9XDyV82p Jy+89MQitRVb8owmaNDqY//aioQdkqNQ9PmJJFNHsTamoi+iGLrpf4Ptpu6FEtn1St7Q ZNIjefV7ThPIyQU/6eEbyssNUFvK+dKKTWHxrUzcCwNbLPaWOFzrcYyku9j+EFrEgtHn ATQzijv4nEXXOHl5323jCkcD2OzlppYr7WYf2ayj37FTTb3Pfx/LmOt/+D3/FHrxyg9H W3sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=QNMl9uMTQo/wwF6/f+yc/7oqcqLT8favFZNSd9D41ts=; b=1EjHeLJ3f6h8cAclmy9kBor0N8+qYw4xJ291w0949KvEBXmPLktzFBSr/aPipsPiAM Iv0lTWw0+el0tvG0RvH/U40Y/Tp0WzR1P8kYFWiGFAl+k6x75GnJq0/VGTdLZMjOeBYA YJJ7x9vAsKfzgb0xkT1Zn3zLgZtlbt+KjslnbTVTGqHwcD65hg0H9U4HRI8Tfr57XGX5 XeakFcNd4uOcUh3u19waDC14PxxhTxFPpQHSNXXCWrw/JToeZpxWRPMw1yxZkn9kZ6IC CcL5XwWaNkWecuSYqhQF0T/3F2DZISs/3pDqlSg+57dHxueTc8T6GCOoWeXZK9sZ1tlL 9lbA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21-v6si4126584pgv.283.2018.05.17.07.29.27; Thu, 17 May 2018 07:29:40 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752398AbeEQO2p (ORCPT + 99 others); Thu, 17 May 2018 10:28:45 -0400 Received: from gateway20.websitewelcome.com ([192.185.69.18]:26320 "EHLO gateway20.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752374AbeEQO2n (ORCPT ); Thu, 17 May 2018 10:28:43 -0400 X-Greylist: delayed 1447 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 May 2018 10:28:43 EDT Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id CA66E400DFBDF for ; Thu, 17 May 2018 09:04:31 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id JJWBfohUT5CKDJJWBfIhGS; Thu, 17 May 2018 09:04:31 -0500 X-Authority-Reason: nr=8 Received: from [187.172.56.86] (port=58190 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.89_1) (envelope-from ) id 1fJJWB-0006m8-CF; Thu, 17 May 2018 09:04:31 -0500 Date: Thu, 17 May 2018 09:04:30 -0500 From: "Gustavo A. R. Silva" To: Alexei Starovoitov , Daniel Borkmann , John Fastabend Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 0/2] bpf: sockmap, fix uninitialized variable and double-free Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 187.172.56.86 X-Source-L: No X-Exim-ID: 1fJJWB-0006m8-CF X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [187.172.56.86]:58190 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 5 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset aims to fix an uninitialized variable issue and a double-free issue in __sock_map_ctx_update_elem. Both issues were reported by Coverity. Thanks. Gustavo A. R. Silva (2): bpf: sockmap, fix uninitialized variable bpf: sockmap, fix double-free kernel/bpf/sockmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.4