[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090924.154518.22801160.davem@davemloft.net>
Date: Thu, 24 Sep 2009 15:45:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: remi@...lab.net
Cc: netdev@...r.kernel.org, remi.denis-courmont@...ia.com
Subject: Re: [PATCH] Phonet: fix race for port number in concurrent bind()
From: Rémi Denis-Courmont <remi@...lab.net>
Date: Wed, 23 Sep 2009 16:17:10 +0300
> From: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>
>
> From: Rémi Denis-Courmont <remi.denis-courmont@...ia.com>
>
> Allocating a port number to a socket and hashing that socket shall be
> an atomic operation with regards to other port allocation. Otherwise,
> we could allocate a port that is already being allocated to another
> socket.
>
> Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@...ia.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