[NETFILTER]: nf_conntrack: remove ugly hack in l4proto registration
authorPatrick McHardy <kaber@trash.net>
Wed, 14 Mar 2007 23:38:25 +0000 (16:38 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:40 +0000 (22:25 -0700)
commitac5357ebac43e191003c2cd0722377dccfa01a84
treea5a09bed344af07a68a95c2c4606a6c7eedc4748
parentb19caa0ca071dce76b0e81e957e7eb7c03d72cf5
[NETFILTER]: nf_conntrack: remove ugly hack in l4proto registration

Remove ugly special-casing of nf_conntrack_l4proto_generic, all it
wants is its sysctl tables registered, so do that explicitly in an
init function and move the remaining protocol initialization and
cleanup code to nf_conntrack_proto.c as well.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_core.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_proto.c