net/sched: cls_matchall: Fix error path
authorYotam Gigi <yotamg@mellanox.com>
Tue, 3 Jan 2017 17:20:24 +0000 (19:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2017 23:58:27 +0000 (18:58 -0500)
commitec2507d2a3060a970fa314556891828cfd60093e
tree86789e6f428f77111db251c0c3f4709ec0bb85d1
parent6f63db82d6df51f6990e972b2240c3c99c3e1fb1
net/sched: cls_matchall: Fix error path

Fix several error paths in matchall:
 - Release reference to actions in case the hardware fails offloading
   (relevant to skip_sw only)
 - Fix error path in case tcf_exts initialization/validation fail

Fixes: bf3994d2ed31 ("net/sched: introduce Match-all classifier")
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_matchall.c