usagi/kernel/linux26/include/linux/netfilter nf_conntrack_l3proto.h usagi/kernel/linux26/net/ipv4/netfilter nf_conntrack_l3proto_ipv4.c usagi/kernel/linux26/net/ipv6/netfilter nf_conntrack_l3proto_ipv6.c usagi/kernel/linux26/net/netfilter nf_conntrack_standalone.c
| Newsgroups | gmane.linux.ipv6.usagi.cvs |
|---|---|
| Message-ID | <[email protected]> |
kozakai 2004/08/12 15:25:04 JST
Modified files: (Branch: bCONNTRACK-20040618)
kernel/linux26/include/linux/netfilter nf_conntrack_l3proto.h
kernel/linux26/net/ipv4/netfilter nf_conntrack_l3proto_ipv4.c
kernel/linux26/net/ipv6/netfilter nf_conntrack_l3proto_ipv6.c
kernel/linux26/net/netfilter nf_conntrack_standalone.c
Log:
- deleted init() and fini() from the structure of l3 protocol modules
In early code, built-in modules are registered in nf_conntrack_init().
Then nf_l3proto_register() needed to call l3proto->init().
In current code, built-in l4 protocol modules are registered
by l3 protocol. And if l3 protocol modules are built in kernel,
init() declared with module_init() is called automatically by kernel
module framework. Then l3proto->init() is not needed any more.
- deleted codes to comfirm that l4 protocol modules are really registerd
before unregister them
I worried too much.
Revision Changes Path
1.1.8.3 +0 -6 usagi/kernel/linux26/include/linux/netfilter/Attic/nf_conntrack_l3proto.h
1.1.2.2 +31 -57 usagi/kernel/linux26/net/ipv4/netfilter/Attic/nf_conntrack_l3proto_ipv4.c
1.1.2.2 +33 -61 usagi/kernel/linux26/net/ipv6/netfilter/Attic/nf_conntrack_l3proto_ipv6.c
1.1.8.6 +2 -4 usagi/kernel/linux26/net/netfilter/Attic/nf_conntrack_standalone.c