From: Florian Westphal Date: Mon, 31 Oct 2011 11:20:16 +0000 (+0100) Subject: netfilter: do not propagate nf_queue errors in nf_hook_slow X-Git-Tag: v3.2-rc1~68^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563e12326473cb5d6cce0a4dca32509fe753eb8d;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed