netfilter: nf_conntrack: generalize nf_ct_l4proto_net
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Jun 2012 05:23:24 +0000 (05:23 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 4 Jul 2012 17:37:22 +0000 (19:37 +0200)
commit08911475d1d0921401e37d83292b217e1411d10b
tree78e2ad7b4898fb76dc3c4b4bbe46fbaaf3cb1f18
parent8fc02781688eda937657193ee28caf4914563d27
netfilter: nf_conntrack: generalize nf_ct_l4proto_net

This patch generalizes nf_ct_l4proto_net by splitting it into chunks and
moving the corresponding protocol part to where it really belongs to.

To clarify, note that we follow two different approaches to support per-net
depending if it's built-in or run-time loadable protocol tracker.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Gao feng <gaofeng@cn.fujitsu.com>
include/net/netfilter/nf_conntrack_l4proto.h
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/netfilter/nf_conntrack_proto.c
net/netfilter/nf_conntrack_proto_generic.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_udp.c