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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 23 Feb 2017 03:50:58 +0000 (03:50 +0000)
commit476c0d7fbdfd5617f52303ec78deeec657fa05dc
treea6cb139d8c2b3e8bfa14e64f123d6696badb7a52
parent3635a01c628c7dbba2baf7466533619afc547154
ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped

commit 990ff4d84408fc55942ca6644f67e361737b3d8e upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/dccp/ipv6.c