summaryrefslogtreecommitdiff
path: root/tprintf.c
AgeCommit message (Expand)AuthorFilesLines
2015-05-05tprintf: Fix color breaking in less modeVadim Kochan1-1/+12
2013-07-13tprintf: Fix compiler warningsTobias Klauser1-5/+5
2013-06-04xutils: eliminate xutils, move rest to epoll2Daniel Borkmann1-1/+0
2013-05-21tprintf: Rename parameter to avoid shadowing global declarationTobias Klauser1-2/+2
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+169
iff/?h=nds-private-remove&id=b05d0cfa1932376dc388a0fe67564572a84374a3&id2=9a9a7a572709487acb0d2de83b375e8fbb4f9d91'>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