diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-08-29 19:15:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-30 15:12:05 -0700 |
commit | f2b795ea025c743073933d5a121e22a2c3e66c99 (patch) | |
tree | e14fcc5b7e75d34e440d1b39dcaea6d7f71480d6 /drivers/net/ethernet/mellanox | |
parent | de8e1beb191912f94bcab46e72f247daaf664d15 (diff) | |
download | linux-f2b795ea025c743073933d5a121e22a2c3e66c99.tar.gz linux-f2b795ea025c743073933d5a121e22a2c3e66c99.tar.bz2 linux-f2b795ea025c743073933d5a121e22a2c3e66c99.zip |
net: sched: cls_matchall: cleanup flow_action before deallocating
Recent rtnl lock removal patch changed flow_action infra to require proper
cleanup besides simple memory deallocation. However, matchall classifier
was not updated to call tc_cleanup_flow_action(). Add proper cleanup to
mall_replace_hw_filter() and mall_reoffload().
Fixes: 5a6ff4b13d59 ("net: sched: take reference to action dev before calling offloads")
Reported-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions