net: core: fix module type in sock_diag_bind
commitd19b5ed46cce475fa8cae56aba8eadf794a1f090
authorAndrii Vladyka <tulup@mail.ru>
Thu, 4 Jan 2018 11:09:17 +0000 (4 13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:35:29 +0000 (17 09:35 +0100)
treefe678a5dfd60c90d99bcd9015ae8fd458b1b26f3
parentb9f16497eec26d8009791493e6f2dda03348819d
net: core: fix module type in sock_diag_bind

[ Upstream commit b8fd0823e0770c2d5fdbd865bccf0d5e058e5287 ]

Use AF_INET6 instead of AF_INET in IPv6-related code path

Signed-off-by: Andrii Vladyka <tulup@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/sock_diag.c