projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7f8ce
)
net: core: fix module type in sock_diag_bind
author
Andrii Vladyka
<tulup@mail.ru>
Thu, 4 Jan 2018 11:09:17 +0000
(13:09 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Jan 2018 16:28:58 +0000
(11:28 -0500)
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
patch
|
blob
|
history
diff --git
a/net/core/sock_diag.c
b/net/core/sock_diag.c
index 217f4e3b82f6edca841b66089ab0772bd8d391e7..146b50e30659daca3bdc4413d800890ef482f521 100644
(file)
--- a/
net/core/sock_diag.c
+++ b/
net/core/sock_diag.c
@@
-288,7
+288,7
@@
static int sock_diag_bind(struct net *net, int group)
case SKNLGRP_INET6_UDP_DESTROY:
if (!sock_diag_handlers[AF_INET6])
request_module("net-pf-%d-proto-%d-type-%d", PF_NETLINK,
- NETLINK_SOCK_DIAG, AF_INET);
+ NETLINK_SOCK_DIAG, AF_INET
6
);
break;
}
return 0;