diff options
author | Eric Dumazet <edumazet@google.com> | 2015-07-14 08:10:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-15 17:25:51 -0700 |
commit | 03645a11a570d52e70631838cb786eb4253eb463 (patch) | |
tree | 8a370b57010d040b59fd7e17ba90d1d8ed1c7650 /include/net/datalink.h | |
parent | 14e4cec80cd05ad585c537db56a705ab61fbaff9 (diff) |
ipv6: lock socket in ip6_datagram_connect()
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@google.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/datalink.h')
0 files changed, 0 insertions, 0 deletions