OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:38:53 +0000 (09:38 +0100)
commit61196a67cac4faa27d5e8f765b468bc25822f84d
treeaa48331988f9a28a5edd8359e65de06ce84af762
parentca5681b723d39e85cbb2f05523a08ef2ee3a8086
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