[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150715.172612.2146759620527413231.davem@davemloft.net>
Date: Wed, 15 Jul 2015 17:26:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH net] ipv6: lock socket in ip6_datagram_connect()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 14 Jul 2015 08:10:22 +0200
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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 <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
--
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