On Thu, Jul 18, 2019 at 4:32 PM David Miller wrote:
>
> From: Chuhong YUAN
> Date: Wed, 17 Jul 2019 00:59:02 +
>
> > 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: Chu
From: Chuhong YUAN
Date: Wed, 17 Jul 2019 00:59:02 +
> 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 upstre
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
---
drivers/net/ethernet/google/gve/gve_main.c | 22 +++---
drivers/net/ethernet/google/gve/gve_rx.c | 4 ++
3 matches
Mail list logo