net/mlx5e: Fix freeing flow with kfree() and not kvfree()
authorRoi Dayan <roid@mellanox.com>
Wed, 4 Dec 2019 09:25:43 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 15:09:03 +0000 (16:09 +0100)
commit65523f0fe7b885da9454e97ca97996d2b3392be5
treece5b4cacca03eabd2499674191318fa81a5b1aa8
parent2e4e7670cba5bf6c900e832c13f597db262f5ed5
net/mlx5e: Fix freeing flow with kfree() and not kvfree()

[ Upstream commit a23dae79fb6555c808528707c6389345d0b0c189 ]

Flows are allocated with kzalloc() so free with kfree().

Fixes: 04de7dda7394 ("net/mlx5e: Infrastructure for duplicated offloading of TC flows")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c