]> 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)
commitf491690cce88c3dd3f0b0c6b774dab06b36c8dd2
tree5232b2b31f55f84c165c33fb1208e6bcb21a4ca5
parentfdf63fcc172868b04d9c71f8ee69cf1185f3460f
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: 06173c049a98 ('net/mlx5: E-Switch, Introduce VST vport ingress/egress ACLs')
Fixes: 31024e97b214 ('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