Re: [RFC][PATCH 0/9] Network receive deadlock prevention for NBD

Evgeniy Polyakov
2006-08-13T09:06:21Z

On Sat, Aug 12, 2006 at 05:46:07PM -0700, David Miller (davem@davemloft.net) wrote:
> From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
> Date: Sat, 12 Aug 2006 13:37:06 +0400
>
> > Does it? I though it is possible to only have 64k of working sockets per
> > device in TCP.
>
> Where does this limit come from?
>
> You think there is something magic about 64K local ports,
> but if remote IP addresses in the TCP socket IDs are all
> different, number of possible TCP sockets is only limited
> by "number of client IPs * 64K" and ram :-)

I talked about working sockets, but not about how many of them system
can have at all :)

--
Evgeniy Polyakov