summaryrefslogtreecommitdiff
path: root/include/net/psample.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-02-08 10:39:16 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-08 15:13:44 -0500
commitb05d0cfa1932376dc388a0fe67564572a84374a3 (patch)
treee18f75a5d2824e01a3abc32f76b775bdff752992 /include/net/psample.h
parent9a9a7a572709487acb0d2de83b375e8fbb4f9d91 (diff)
mlxsw: acl: Fix mlxsw_afa_block_commit error path
No rollback is needed since the chain is in consistent state and mlxsw_afa_block_destroy() will take care of putting it away. So remove the one we have now which is wrong. Also move the set of 'finished' flag to the beginning of the function, because the block is certainly unusable for future action addition no matter if the function succeeds or not. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 4cda7d8d7098 ("mlxsw: core: Introduce flexible actions support") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/psample.h')
0 files changed, 0 insertions, 0 deletions
control_enable() call from cgroup_create() so that the subsystems are onlined and made visible at the same time. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") Cc: stable@vger.kernel.org # v4.6+
Diffstat (limited to 'net/batman-adv/tp_meter.h')