diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-17 10:05:11 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-18 16:31:27 -0700 |
commit | 8ec1e9006908a606b2a67c905f33ee2d3b6be5c2 (patch) | |
tree | ab18fcdc9f64a0a839cdbe9daed1265671f3ace6 /net/dsa | |
parent | bb745231678cd92ab0c4d37343b06e4879072368 (diff) |
gve: replace kfree with kvfree
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 <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions