summaryrefslogtreecommitdiff
path: root/irq.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-07-01 10:28:43 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-07-01 10:30:06 +0200
commite3bd65b7eaa5b47b4029f92e909a6aae4fbdb152 (patch)
tree7ece8f21e7f63dbec3e32ba4ba1bee30f4a9b614 /irq.h
parentf6b2b535d482084e49ba8787973d8586ed51f563 (diff)
netsniff-ng: dev: Rename device_ifindex_get to __device_ifindex
Make the function name more in line with the scheme we use for other similar functions: the function prefixed with __ returns a negative error code, the function without prefix panic()'s on error. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'irq.h')
0 files changed, 0 insertions, 0 deletions
ae0d781f72a6d30545e17'>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 'drivers/usb/image/Kconfig')