netfilter: use switch() to handle verdict cases from nf_hook_slow()
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Nov 2016 09:56:30 +0000 (10:56 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 3 Nov 2016 10:52:57 +0000 (11:52 +0100)
commitc63cbc4604199af6627633f2bb3847a8951f48e5
tree53ed5af31a234c4c41028570e2561e9f4079609c
parent0e5a1c7eb3fc705c4cc6c1e058e81d1f2e721c72
netfilter: use switch() to handle verdict cases from nf_hook_slow()

Use switch() for verdict handling and add explicit handling for
NF_STOLEN and other non-conventional verdicts.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c