Eric Dumazet <[email protected]> wrote:
> From: Eric Dumazet <[email protected]>
> 
> ip6_datagram_connect() is doing a lot of socket changes without
> socket being locked.
> 
> This looks wrong, at least for udp_lib_rehash() which could corrupt
> lists because of concurrent udp_sk(sk)->udp_portaddr_hash accesses.
> 
> Signed-off-by: Eric Dumazet <[email protected]>

Good find! This goes all the way back to 1.3 it seems :)

Acked-by: Herbert Xu <[email protected]>
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to