Florian Westphal 563e123264 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>
2011-11-01 09:57:21 +01:00
..
2011-04-17 00:48:31 -07:00
2011-10-30 04:43:30 -04:00
2011-03-17 11:59:32 +11:00
2011-09-15 15:36:35 -04:00
2011-03-21 18:16:39 -07:00
2011-10-13 16:05:07 -04:00
2011-06-16 23:19:27 -04:00
2011-09-16 19:20:20 -04:00
2011-07-01 16:11:16 -07:00
2011-03-31 11:26:23 -03:00
2011-10-19 03:10:46 -04:00
2011-05-05 11:10:14 -07:00
2011-07-05 15:26:57 -04:00
2011-07-05 15:26:57 -04:00
2010-10-15 15:53:27 +02:00