]> git.baikalelectronics.ru Git - kernel.git/commit
[UDP]: Revert udplite and code split.
authorDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2008 00:22:02 +0000 (16:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2008 00:22:02 +0000 (16:22 -0800)
commit5b51c39c1c654b2be39d17e42309b04001dc0f11
tree3694d1aee5c0014fb45eec045a67ca150ca1231f
parent6dfdd396f005bc4d557b30d98feac51e9f6989f1
[UDP]: Revert udplite and code split.

This reverts commit d322dcf1fad8ce551f7df02692cb7b981284e3f4 ("[IPV6]
UDP: Rename IPv6 UDP files."), commit
d8eafc57f3f9e88416b9611e1627032c6bf85e69 ("[IPV4] UDP: Move
IPv4-specific bits to other file.") and commit
2c3ffa50de9fd21c66a0838cee9247663f028435 ("[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>
20 files changed:
include/linux/udp.h
include/net/ipv6.h
include/net/transp_v6.h
include/net/udplite.h
net/ipv4/Kconfig
net/ipv4/Makefile
net/ipv4/af_inet.c
net/ipv4/proc.c
net/ipv4/udp.c
net/ipv4/udp_ipv4.c [deleted file]
net/ipv4/udplite.c [new file with mode: 0644]
net/ipv4/udplite_ipv4.c [deleted file]
net/ipv6/Makefile
net/ipv6/af_inet6.c
net/ipv6/ipv6_sockglue.c
net/ipv6/proc.c
net/ipv6/udp.c [new file with mode: 0644]
net/ipv6/udp_ipv6.c [deleted file]
net/ipv6/udplite.c [new file with mode: 0644]
net/ipv6/udplite_ipv6.c [deleted file]