summaryrefslogtreecommitdiff
path: root/net/socket.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>2002-07-15 14:27:50 -0300
committerDavid S. Miller <davem@nuts.ninka.net>2002-07-15 14:27:50 -0300
commit33185cc3f558ae2a430f338d801f499eaeb3c6d2 (patch)
tree0d857b5b3e59ec772d099965403ff91b072b1461 /net/socket.c
parent282d9b16985d9f8052609a7abe5ef6bc1f5d504d (diff)
Fix tcpv6 shared ports bug introduced by struct sock splitup
. export tcp_bind_hash . use tcp_bind_hash in tcp_v6_get_port . create tcp_v6_bind_conflict from code in tcp_v6_get_port, making it look more like tcp_v4_get_port . create ipv6_rcv_saddr_equal to reduce the complexity in tcp_v6_bind_conflict . check if the sock is AF_INET6 before looking into the pinet6 area that is not present anymore in AF_INET4 struct sock, this fixes the bug reported by Carl Ritson on netdev . replace __constant_hton* with hton*, as both generate the same code and __constant_* should be only used when initializing static variables
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions