summaryrefslogtreecommitdiff
path: root/bpf_insns.h
AgeCommit message (Expand)AuthorFilesLines
2013-06-15bpf: use Linux' define of BPF_MAXINSNSDaniel Borkmann1-0/+4
2013-06-04bpf: split up instructions and extensions from headerDaniel Borkmann1-0/+58
td>Pablo Neira Ayuso <pablo@netfilter.org>2017-02-02 14:31:51 +0100 commit11df4b760f11ca7528c62b1c4b870735d1c62116 (patch) tree2871b38be4c52aa87e686bd33cb27f16fa3ab16c parent10435c1192d06bdb0bac7666452d8219d7e7c477 (diff)
netfilter: conntrack: no need to pass ctinfo to error handler
It is never accessed for reading and the only places that write to it are the icmp(6) handlers, which also set skb->nfct (and skb->nfctinfo). The conntrack core specifically checks for attached skb->nfct after ->error() invocation and returns early in this case. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat
-rw-r--r--include/net/netfilter/nf_conntrack_l4proto.h2
-rw-r--r--net/ipv4/netfilter/nf_conntrack_proto_icmp.c12
-rw-r--r--net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c12
-rw-r--r--net/netfilter/nf_conntrack_core.c3
-rw-r--r--net/netfilter/nf_conntrack_proto_dccp.c1
-rw-r--r--net/netfilter/nf_conntrack_proto_sctp.c2
-rw-r--r--net/netfilter/nf_conntrack_proto_tcp.c1
-rw-r--r--net/netfilter/nf_conntrack_proto_udp.c3
8 files changed, 16 insertions, 20 deletions
diff --git a/include/net/netfilter/nf_conntrack_l4proto.h b/include/net/netfilter/nf_conntrack_l4proto.h