ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
authorEric Dumazet <edumazet@google.com>
Thu, 3 Nov 2016 15:59:46 +0000 (08:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Nov 2016 20:50:27 +0000 (16:50 -0400)
commit990ff4d84408fc55942ca6644f67e361737b3d8e
tree9982d261dbd63c75ddad0a278f20cba442b087c1
parent29ab5a3b94c87382da06db88e96119911d557293
ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

While fuzzing kernel with syzkaller, Andrey reported a nasty crash
in inet6_bind() caused by DCCP lacking a required method.

Fixes: ab1e0a13d7029 ("[SOCK] proto: Add hashinfo member to struct proto")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c