summaryrefslogtreecommitdiff
path: root/die.h
diff options
context:
space:
mode:
authorMandar Gokhale <mandarg@mandarg.com>2016-12-07 23:20:20 -0500
committerTobias Klauser <tklauser@distanz.ch>2016-12-08 09:28:30 +0100
commitbf0df3ec1875df4b167aedd0fff25e7e56408b6b (patch)
tree7cfc7d52cedb96a9d87c9cea385c0c7ba8b358e9 /die.h
parent7b71c2c487ec2eed2d8dcd22f621f6c913621312 (diff)
mausezahn: Add error handling for mismatched address families
Currently, mausezahn fails silently if, say the user has specified IPv6 addresses using `-A` and `-B` but has forgotten the -6 option. Add error handling for this and the (probably uncommon) reverse case, i.e. v4 src/dst specified, but used with the -6 option. Signed-off-by: Mandar Gokhale <mandarg@mandarg.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'die.h')
0 files changed, 0 insertions, 0 deletions
amp;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 'arch/arm/boot/dts/imx53-ard.dts')