Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3736579imm; Thu, 17 May 2018 13:53:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp8d+7ShG/kFa5A6ER2TsGigK7wQuIcS9by/v6gnv/RAp8P8ar0Iy6bXRWkk5qYpdl7fOyr X-Received: by 2002:a62:3a1c:: with SMTP id h28-v6mr6547131pfa.209.1526590422755; Thu, 17 May 2018 13:53:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526590422; cv=none; d=google.com; s=arc-20160816; b=TxjxwNq9rNVs+Skp4h5aRxWHkdU+jAl8WTGBAkQG7Sxa5WoMKjN+nmWFapfojMZsGq IjhP1r1gyKcG28q/4vxiDhWEO/vCjHR99x6oR0RxAKTjpXal8FrDV+uWcf1IJ/pardf9 vCCD9T0K3I9/4l5RRsGZ5hoS+W3H1wR4krF/BVhUBO11IO94HGeYLg79Zr4Q7j7S57Qn w9XUS5gIfUvurZBZ8pZY4/jzZju5aGGp7QTl9JoLM511dEd7fBHyo/LAwV3YF0pnUrEl 4mWPf+sdII3XWA7IbOaVy/WdPF91dQ8tDzdxz/sBmifSPIbwETRU32hKcxaMJ+vdXK5/ Bb/Q== 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:from:references:cc:to:subject:arc-authentication-results; bh=6SUIt0ygNkEARapYxCUkfrjuM0Q7fIP6AJLz45RwLSc=; b=oXtWtFNFvVKpEQ2YHltyuXcz8+CwrBlTg6/+LQzMazeuLPsCPaw1U2YAKXjz1dSELu L8iTJ+p2aN/G9F30uG5HhqWLVdvEkRyUwyhuAV3Za6pK9ROySgc3TSUjy0BMmNuqTSwc jz5Nso/1tQ+l0lHz7gcuBKG3aimg1LH/kQDw59fh/rSCsw+Tg5zpV1MUmeWEalF8v0+7 fSyPsLO+oLvr0v+JSZsHIjOwzjZvXEmv3RnKg+Vr5AOn8mqrbXnoI064BoVQKdzFUZkd zOZDH2goRbxfAwWFWsHFDSnu+rfhaaueHIxRDc/+eOTrQqER6Su7ZOktxGHnq3GtZJMn XrUg== 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 e12-v6si4780033pgn.155.2018.05.17.13.53.28; Thu, 17 May 2018 13:53:42 -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 S1751985AbeEQUxR (ORCPT + 99 others); Thu, 17 May 2018 16:53:17 -0400 Received: from gateway22.websitewelcome.com ([192.185.46.229]:14323 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751626AbeEQUxQ (ORCPT ); Thu, 17 May 2018 16:53:16 -0400 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 9CC5D9BF5 for ; Thu, 17 May 2018 15:53:15 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id JPtjfl6Ziy2aLJPtjf2w1n; Thu, 17 May 2018 15:53:15 -0500 X-Authority-Reason: nr=8 Received: from 187-162-252-93.static.axtel.net ([187.162.252.93]:33606 helo=[192.168.15.106]) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1fJPtj-001V3r-9g; Thu, 17 May 2018 15:53:15 -0500 Subject: Re: [PATCH 0/2] bpf: sockmap, fix uninitialized variable and double-free To: Daniel Borkmann , Alexei Starovoitov , John Fastabend Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: From: "Gustavo A. R. Silva" Message-ID: <1ca692d8-081a-7645-dcfd-95d9ecc656f5@embeddedor.com> Date: Thu, 17 May 2018 15:53:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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.162.252.93 X-Source-L: No X-Exim-ID: 1fJPtj-001V3r-9g X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-252-93.static.axtel.net ([192.168.15.106]) [187.162.252.93]:33606 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 10 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 Hi Daniel, On 05/17/2018 03:51 PM, Daniel Borkmann wrote: > On 05/17/2018 04:04 PM, Gustavo A. R. Silva wrote: >> 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(-) > > Applied to bpf-next, thanks Gustavo! > Glad to help. :) > P.s.: Please indicate that next time in the email subject via '[PATCH bpf-next]'. > OK. Will do that. Thanks -- Gustavo