]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[TCP]: Fix zero port problem in IPv6
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 13 Mar 2006 22:26:12 +0000 (14:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2006 22:26:12 +0000 (14:26 -0800)
commit3759fa9c55923f719ae944a3f8fbb029b36f759d
treeca48147798cd6a02edf64290dcf14c7681ab88cc
parentc33d4568aca9028a22857f94f5e0850012b6444b
[TCP]: Fix zero port problem in IPv6

When we link a socket into the hash table, we need to make sure that we
set the num/port fields so that it shows us with a non-zero port value
in proc/netlink and on the wire.  This code and comment is copied over
from the IPv4 stack as is.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/ipv6/inet6_hashtables.c