IB/mlx5: Increase flow table reference count in create rule
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 28 Aug 2016 11:16:33 +0000 (14:16 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:15 +0000 (16:54 -0400)
commitd9d4980af21df94f527caeecd35bfa4bafe38c9c
tree663aca4a8115f6ab5c6c4173c5fa4a17506b4d4a
parentdd063d0e6c78b53090a7b3593b0fe40e449b404a
IB/mlx5: Increase flow table reference count in create rule

Move the reference count increasing of flow table to be in
create_flow_rule, it will increase the reference count for each rule
creation and not for each flow.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c