]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Fix root flow table update
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 9 Jun 2016 21:07:31 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:25 +0000 (22:06 -0700)
commit2fee37a47cebc26d58eec5dafc8ba787a6ee5350
tree0a655774d1435783324d84e2316e0208877d6122
parent86d56a1a6b7352542661d8a9463758c7f285fce3
net/mlx5: Fix root flow table update

When we destroy the last flow table we need to update
the root_ft to NULL.

It fixes an issue for when the last flow table is destroyed
and recreated again, root_ft pointer will not be updated,
as a result traffic will be dropped.

Fixes: 2cc43b494a6c ('net/mlx5_core: Managing root flow table')
Signed-off-by: Maor Gottlieb <maorg@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/fs_core.c