]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b08401d7f75da6556140aa25e240216de0b16e6
tree9982d261dbd63c75ddad0a278f20cba442b087c1
parent9cd5946abf59c7262b281c3429848dea82c8cdff
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: 2fee3fea74b5c ("[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