[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080714.224339.157245240.davem@davemloft.net>
Date: Mon, 14 Jul 2008 22:43:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: allan.stephens@...driver.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 3/7 net-next-2.6] tipc: Fix race condition that could
cause accept() to fail
From: Allan Stephens <allan.stephens@...driver.com>
Date: Thu, 10 Jul 2008 17:26:07 -0400
> This patch ensurs that accept() returns successfully even when
> the newly created socket is immediately disconnected by its peer.
> Previously, accept() would fail if it was unable to pass back
> the optional address info for the socket's peer before the
> socket became disconnected; TIPC now allows accept() to gather
> peer address information after disconnection. As a bonus, the
> revised code accesses the socket's port more efficiently, without
> the overhead incurred by a reference table lookup.
>
> Signed-off-by: Allan Stephens <allan.stephens@...driver.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists