netfilter: conntrack: remove error callback and handle icmp from core
authorFlorian Westphal <fw@strlen.de>
Wed, 12 Sep 2018 13:19:11 +0000 (15:19 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Sep 2018 16:02:57 +0000 (18:02 +0200)
commit6fe78fa484a5dad030b24e33e0cedc5d5bbd0fde
tree9c918c99699126a6254c2689125b87e82a207629
parent0150ffbac78318549bf4818ddee3481d87100928
netfilter: conntrack: remove error callback and handle icmp from core

icmp(v6) are the only two layer four protocols that need the error()
callback (to handle icmp errors that are related to an established
connections, e.g. packet too big, port unreachable and the like).

Remove the error callback and handle these two special cases from the core.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_l4proto.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_proto_icmp.c
net/netfilter/nf_conntrack_proto_icmpv6.c