]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[UDP]: Make full use of proto.h.udp_hash innovation.
authorPavel Emelyanov <xemul@openvz.org>
Sat, 22 Mar 2008 23:51:21 +0000 (16:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Mar 2008 23:51:21 +0000 (16:51 -0700)
commit6ba5a3c52da00015e739469e3b00cd6d0d4c5c67
tree0cbccb2dac9307cec25176eb94ff4f406a2061f7
parent39d8cda76cfb1178455f9d196b39e773878e6c05
[UDP]: Make full use of proto.h.udp_hash innovation.

After this we have only udp_lib_get_port to get the port and two
stubs for ipv4 and ipv6. No difference in udp and udplite except
for initialized h.udp_hash member.

I tried to find a graceful way to drop the only difference between
udp_v4_get_port and udp_v6_get_port (i.e. the rcv_saddr comparison
routine), but adding one more callback on the struct proto didn't
appear such :( Maybe later.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/udp.h
net/ipv4/udp.c
net/ipv4/udp_impl.h
net/ipv4/udplite.c
net/ipv6/udp.c
net/ipv6/udp_impl.h
net/ipv6/udplite.c