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)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Dec 2019 21:02:11 +0000 (13:02 -0800)
commita23dae79fb6555c808528707c6389345d0b0c189
treeb565ba0bd186affd19043e6c43fc03b32b0a628b
parentc431f8597863a91eea6024926e0c1b179cfa4852
net/mlx5e: Fix freeing flow with kfree() and not kvfree()

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>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c