summaryrefslogtreecommitdiff
path: root/netsniff-ng
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-15 17:31:32 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-15 17:31:32 +0200
commitc0a4ab36757c590b09b2a9cab8d48235c303d14b (patch)
treed297323a687683d8c0ef047ff453d96a19004091 /netsniff-ng
parente48c760ee1d369be0cf15eeb3962d48bab9f97ea (diff)
cpusched: cleanups, refactoring and fix one bug
Fix the bug in "if (!entry == 0 && errno == ENOENT)" and also do some cleanups, make the code more readable and remove useless stuff. Used in curvetun. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng')
0 files changed, 0 insertions, 0 deletions
vate-remove&id=10435c1192d06bdb0bac7666452d8219d7e7c477&id2=1a28ad74ebd8f9d3c7eae0d781f72a6d30545e17'>diff)
netfilter: nf_tables: Eliminate duplicated code in nf_tables_table_enable()
If something fails in nf_tables_table_enable(), it unregisters the chains. But the rollback code is the same as nf_tables_table_disable() almostly, except there is one counter check. Now create one wrapper function to eliminate the duplicated codes. Signed-off-by: Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'sound/soc/kirkwood/kirkwood-dma.c')