Re: [PATCH] gve: replace kfree with kvfree

From: David Miller
Date: Thu Jul 18 2019 - 19:32:11 EST


From: Chuhong YUAN <chuhongyuan@xxxxxxxxxxx>
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@xxxxxxxxxxx>

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 :)