]> git.baikalelectronics.ru Git - kernel.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)
commitb7f002497589baf03cef05add7959fcebc4c0539
treeca48147798cd6a02edf64290dcf14c7681ab88cc
parente049c07292c220c431d0b4e487fb5f456480acc2
[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