]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Use the correct free() function
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 9 Jun 2016 21:07:34 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:26 +0000 (22:06 -0700)
commit17907b7091d8d0d63315f754b1042d37ef5026cc
tree5232b2b31f55f84c165c33fb1208e6bcb21a4ca5
parent7e019ffb6f2231b2aad5a9dce1c1825661ebf7a3
net/mlx5: E-Switch, Use the correct free() function

We must use kvfree() for something that could have been allocated with vzalloc(),
do that.

Fixes: 2ff3d09fe911 ('net/mlx5: E-Switch, Introduce VST vport ingress/egress ACLs')
Fixes: 0f980ea3899a ('net/mlx5: Use flow steering infrastructure for mlx5_en')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c