diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-06 19:22:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-06 19:22:02 -0500 |
commit | db8dac20d5199307dcfcf4e01dac4bda5edf9e89 (patch) | |
tree | 3694d1aee5c0014fb45eec045a67ca150ca1231f /include/net/ipv6.h | |
parent | ba0fa4599484b98dbb21d279fbfdb40e9c07d30d (diff) |
[UDP]: Revert udplite and code split.
This reverts commit db1ed684f6c430c4cdad67d058688b8a1b5e607c ("[IPV6]
UDP: Rename IPv6 UDP files."), commit
8be8af8fa4405652e6c0797db5465a4be8afb998 ("[IPV4] UDP: Move
IPv4-specific bits to other file.") and commit
e898d4db2749c6052072e9bc4448e396cbdeb06a ("[UDP]: Allow users to
configure UDP-Lite.").
First, udplite is of such small cost, and it is a core protocol just
like TCP and normal UDP are.
We spent enormous amounts of effort to make udplite share as much code
with core UDP as possible. All of that work is less valuable if we're
just going to slap a config option on udplite support.
It is also causing build failures, as reported on linux-next, showing
that the changeset was not tested very well. In fact, this is the
second build failure resulting from the udplite change.
Finally, the config options provided was a bool, instead of a modular
option. Meaning the udplite code does not even get build tested
by allmodconfig builds, and furthermore the user is not presented
with a reasonable modular build option which is particularly needed
by distribution vendors.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 5f6df50a33a9..8db06af1efbb 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -599,13 +599,8 @@ extern int tcp6_proc_init(void); | |||
599 | extern void tcp6_proc_exit(void); | 599 | extern void tcp6_proc_exit(void); |
600 | extern int udp6_proc_init(void); | 600 | extern int udp6_proc_init(void); |
601 | extern void udp6_proc_exit(void); | 601 | extern void udp6_proc_exit(void); |
602 | #ifdef CONFIG_IP_UDPLITE | ||
603 | extern int udplite6_proc_init(void); | 602 | extern int udplite6_proc_init(void); |
604 | extern void udplite6_proc_exit(void); | 603 | extern void udplite6_proc_exit(void); |
605 | #else | ||
606 | static inline int udplite6_proc_init(void) { return 0; } | ||
607 | static inline void udplite6_proc_exit(void) { } | ||
608 | #endif | ||
609 | extern int ipv6_misc_proc_init(void); | 604 | extern int ipv6_misc_proc_init(void); |
610 | extern void ipv6_misc_proc_exit(void); | 605 | extern void ipv6_misc_proc_exit(void); |
611 | extern int snmp6_register_dev(struct inet6_dev *idev); | 606 | extern int snmp6_register_dev(struct inet6_dev *idev); |