net: core: fix module type in sock_diag_bind
authorAndrii Vladyka <tulup@mail.ru>
Thu, 4 Jan 2018 11:09:17 +0000 (13:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jan 2018 16:28:58 +0000 (11:28 -0500)
commitb8fd0823e0770c2d5fdbd865bccf0d5e058e5287
tree21f606d350f8c3b444649d61848ceded748937d1
parentef7f8cec80a0ba7bd00ece46844c8994117dc910
net: core: fix module type in sock_diag_bind

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>
net/core/sock_diag.c