aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-10-09 13:10:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-10-13 12:03:24 +0200
commit7ceebfe46ec026b5405416b72772ac5aa9e09e84 (patch)
tree46d2704f24f8f975edc25da2b18797926afe6af1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentnetfilter: nfnetlink_log: autoload nf_conntrack_netlink module NFQA_CFG_F_CONNTRACK config flag (diff)
downloadwireguard-linux-7ceebfe46ec026b5405416b72772ac5aa9e09e84.tar.xz
wireguard-linux-7ceebfe46ec026b5405416b72772ac5aa9e09e84.zip
netfilter: nfqueue: don't use prev pointer
Usage of -prev seems buggy. While packet was out our hook cannot be removed but we have no way to know if the previous one is still valid. So better not use ->prev at all. Since NF_REPEAT just asks to invoke same hook function again, just do so, and continue with nf_interate if we get an ACCEPT verdict. A side effect of this change is that if nf_reinject(NF_REPEAT) causes another REPEAT we will now drop the skb instead of a kernel loop. However, NF_REPEAT loops would be a bug so this should not happen anyway. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions