]> git.openpandora.org Git - pandora-kernel.git/commitdiff
[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)
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

Simple merge