From: David Miller <davem@davemloft.net>
To: chuhongyuan@outlook.com
Cc: csully@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gve: replace kfree with kvfree
Date: Thu, 18 Jul 2019 16:32:07 -0700 (PDT) [thread overview]
Message-ID: <20190718.163207.289099133864098969.davem@davemloft.net> (raw)
In-Reply-To: <MWHPR11MB1757F23147F85B59BCF1628BAFC90@MWHPR11MB1757.namprd11.prod.outlook.com>
From: Chuhong YUAN <chuhongyuan@outlook.com>
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 <chuhongyuan@outlook.com>
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 :)
next parent reply other threads:[~2019-07-18 23:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <MWHPR11MB1757F23147F85B59BCF1628BAFC90@MWHPR11MB1757.namprd11.prod.outlook.com>
2019-07-18 23:32 ` David Miller [this message]
2019-07-19 17:44 ` [PATCH] gve: replace kfree with kvfree Catherine Sullivan
2019-07-17 2:05 Chuhong Yuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190718.163207.289099133864098969.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=chuhongyuan@outlook.com \
--cc=csully@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).