summaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2011-10-31 12:20:16 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2011-11-01 09:57:21 +0100
commit563e12326473cb5d6cce0a4dca32509fe753eb8d (patch)
treeffe3e473e74f77914c575f04a9f786f3caa839cc /net/core/neighbour.c
parent0e05e192c0ff706ee2a12eb65074085e3967d862 (diff)
downloadlinux-563e12326473cb5d6cce0a4dca32509fe753eb8d.tar.bz2
netfilter: do not propagate nf_queue errors in nf_hook_slow
commit f15850861860636c905b33a9a5be3dcbc2b0d56a (netfilter: nfnetlink_queue: return error number to caller) erronously assigns the return value of nf_queue() to the "ret" value. This can cause bogus return values if we encounter QUEUE verdict when bypassing is enabled, the listener does not exist and the next hook returns NF_STOLEN. In this case nf_hook_slow returned -ESRCH instead of 0. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/neighbour.c')
0 files changed, 0 insertions, 0 deletions