aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nfnetlink_log.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-11-18 23:32:40 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-11-23 17:54:45 +0100
commitdaaa7d647f81f3f1494d9a9029d611b666d63181 (patch)
treebc0ecf36c021ae09c845364acbd918afbd0a693e /net/netfilter/nfnetlink_log.c
parentnetfilter: ipv6: nf_defrag: avoid/free clone operations (diff)
downloadlinux-dev-daaa7d647f81f3f1494d9a9029d611b666d63181.tar.xz
linux-dev-daaa7d647f81f3f1494d9a9029d611b666d63181.zip
netfilter: ipv6: avoid nf_iterate recursion
The previous patch changed nf_ct_frag6_gather() to morph reassembled skb with the previous one. This means that the return value is always NULL or the skb argument. So change it to an err value. Instead of invoking NF_HOOK recursively with threshold to skip already-called hooks we can now just return NF_ACCEPT to move on to the next hook except for -EINPROGRESS (which means skb has been queued for reassembly), in which case we return NF_STOLEN. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nfnetlink_log.c')
0 files changed, 0 insertions, 0 deletions