commit | cadb9c9fdbc6a624d57b5ecdfd412b5800848703 | [log] [tgz] |
---|---|---|
author | Yotam Gigi <yotamg@mellanox.com> | Tue Jan 31 11:33:53 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 01 14:10:03 2017 -0500 |
tree | c7b4d560f23e9e915ef165f12321f8f4800bb9f7 | |
parent | 6107dbdb64465848e310b85ebe589236e24a9680 [diff] |
net/sched: act_sample: Fix error path in init Fix error path of in sample init, by releasing the tc hash in case of failure in psample_group creation. Fixes: 5c5670fae430 ("net/sched: Introduce sample tc action") Reported-by: Cong Wang <xiyou.wangcong@gmail.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>