Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3889392ybi; Fri, 19 Jul 2019 10:48:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqztMtJZ8j67SufTlTZ2FQ0MuFDP4z+SA515fZTyEI5JZQSnPqPpW3kz2cQn/RVhekLcXzOc X-Received: by 2002:a17:902:16f:: with SMTP id 102mr56170542plb.94.1563558507144; Fri, 19 Jul 2019 10:48:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563558507; cv=none; d=google.com; s=arc-20160816; b=eIToHmU/tQ9icT12OR72fXWzUWqEGCMoSC8n7NhHujbfLBSCDE6bRxAdPTr3dH4DeI FE9vwA8kxCAJJxJUfN9RiyEsjLwjq8q5Mh/9XOg7wAHZeO1wJi7YZgEslaO9SBkuCkh3 2DwAQ4QCSxyVh/nuPLln/kAyUh2vbhDNEutU05F3SWz18xhFTU283TuL3bunM3byN9iQ wfiT5O/muv3RckWUhKGfZDcsuU2WvHOYJpNCP3yOTYbPJqXOv3M4winZu2seV/uaXUYP y69nG2FL2WEEFW9ywZP1HbMvr5U+GjbHnkB4Wf3ea+jQ6BAIPQwLqhZ6DjXV3AMv9Ogm G33w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dNAALzOvftMNuIGo/Hvnr5KO7EC6ztWulyg3Fk0l3Jc=; b=LdePjdv4XYi7VXw0Vn7RXJ7PAdseOGENc8+9zgW2kQVij3YTTcC/ZiMsewdfhGf69A 0wmwgivZ7yD4zI8+L9e6KiJ96bLr0L2IGCUlo6BJwn9AnM6LdHvyzmEMC5j7yTOumIPl 97tBOujqeeicoYHP2S26Hl6zmsdBPhWVjYIm3fPV75gwQjMa7AzJssWJV57d0SkkFARn woBq3CCT02J+1N9ezg0G38G2bCWczWJwP+C17EE9+qfDCEtnNqNenenGY6qu8bf0mbMg X7n2y/Czqv0oJgVs27elRAVW5Zi5EpWA9ljIz9RlzXqC7P22DqUkFHyQH6Ion3uFEx4P nKww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Rqn8qj5U; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si3293783plr.105.2019.07.19.10.48.11; Fri, 19 Jul 2019 10:48:27 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=Rqn8qj5U; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729358AbfGSRpI (ORCPT + 99 others); Fri, 19 Jul 2019 13:45:08 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38246 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726243AbfGSRpI (ORCPT ); Fri, 19 Jul 2019 13:45:08 -0400 Received: by mail-lj1-f195.google.com with SMTP id r9so31550892ljg.5 for ; Fri, 19 Jul 2019 10:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dNAALzOvftMNuIGo/Hvnr5KO7EC6ztWulyg3Fk0l3Jc=; b=Rqn8qj5UNOnX2Y6C0MDJSj5U5Mhxhe2BkesN3t+5CZ8lNabC9OfSlASlombTRYGKw0 PsA3hhRhtpCkTCYx9AnAl6incofbfMtRC3tiJFGUdDY3hBZZueevEYihxD7cTRM1lX9+ bOLoPpS5O2j+adBG8Lfn4PtZCybxckT9UulJ9BADJYKHYLIWL1OYVtPizkyz5BI7NQA/ umnRkXI+6k9nVuNlayZaNJDfuI7rWGC1emyS9rsd7yIYUVTWsltG5AlSY7xGx86ApAcA a0JnylRDt9S21K4pc/Om1SVH6idBbCtMTuKFGuIQ9/+WDybKTC42AWzZhUdBK0cuShAn pD+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dNAALzOvftMNuIGo/Hvnr5KO7EC6ztWulyg3Fk0l3Jc=; b=Gu9v1USM4jG0uHiB/rq5Rp3bT0ffN3UXjNdVlbVjnKE+Gv2SmyGnDQ96OjZgTZaV4l priPFQcwvrXW45n5edK1/VhmRLFOz/Cb2zEGsFxYuklZLTI1NzOoq0EHgWVAzjoriX+2 AeqClEnEbaKfVtpVMmtkDMstcVqShwIx9qumXNxny0mkcitzAGTYu7cxxFpHrs7woeQp LTzorfYcO9G/qh6rcolzIvKLt+I4QUa3UBJaGZxXOPnFHbL7tcdiNf7/jE0agO1dokfo 3w5qKQeusMwhZDL9SKbU6ah6BY7OdNt7psCnJGHuyJTUUPN2KQTVxKH1rj9CB7EBkO5G lhkw== X-Gm-Message-State: APjAAAVBPEy0zwpJvZYToReONAkOsv6gHcGbA/+5NoMYahdhU/LT2INh 3V6GyVQkon9GF3sLna/rBgH+Bj+DCsRPYBi7V83ZZA== X-Received: by 2002:a2e:9754:: with SMTP id f20mr27952332ljj.151.1563558306044; Fri, 19 Jul 2019 10:45:06 -0700 (PDT) MIME-Version: 1.0 References: <20190718.163207.289099133864098969.davem@davemloft.net> In-Reply-To: <20190718.163207.289099133864098969.davem@davemloft.net> From: Catherine Sullivan Date: Fri, 19 Jul 2019 10:44:54 -0700 Message-ID: Subject: Re: [PATCH] gve: replace kfree with kvfree To: David Miller Cc: chuhongyuan@outlook.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 4:32 PM David Miller wrote: > > From: Chuhong YUAN > Date: Wed, 17 Jul 2019 00:59:02 +0000 > > > Variables allocated by kvzalloc should not be freed by kfree. > > Because they may be allocated by vmalloc. > > So we replace kfree with kvfree here. > > > > Signed-off-by: Chuhong Yuan > > Applied, thanks Chuhong. > > GVE maintainers, you are upstream now and have to stay on top of review > of changes like this. Otherwise I'll just review it myself and apply > it unless I find problems, and that may not be what you want :) Will do, thanks for the review. And thanks for the fix Chuhong.