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

From: Evgeniy Polyakov
Date: Sun Aug 13 2006 - 05:04:51 EST


On Sat, Aug 12, 2006 at 05:46:07PM -0700, David Miller (davem@xxxxxxxxxxxxx) wrote:
> From: Evgeniy Polyakov <johnpol@xxxxxxxxxxx>
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/