Re: [PATCH] tcp_v4_get_port() and ephemeral ports

Chris Wedgwood (cw@f00f.org)
Mon, 1 Oct 2001 08:53:54 +1200


On Sun, Sep 30, 2001 at 11:04:36AM -0700, Dan Kegel wrote:

It's tempting to patch tcp_v4_get_port() to check sk->rcv_saddr,
and if it's nonzero, allow the same ephemeral port number to be
reused on different interfaces. Kinda like this (untested):

Have the application do this for you.

--cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/