diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-03 17:27:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-03 17:27:58 -0400 |
commit | eee4fe4ded6e9c196168aee8f9787771f4df9c90 (patch) | |
tree | 271a5837eef0a7f25bf7c8e1e36f413271dd70c7 /include/net/inet_common.h | |
parent | 8258175c811440e93baa15ab1962a5905686dda3 (diff) |
[INET]: Let inet_ctl_sock_create return sock rather than socket.
All upper protocol layers are already use sock internally.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_common.h')
-rw-r--r-- | include/net/inet_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_common.h b/include/net/inet_common.h index d6238bdefbaf..4bfcf3f3555f 100644 --- a/include/net/inet_common.h +++ b/include/net/inet_common.h | |||
@@ -39,7 +39,7 @@ extern int inet_getname(struct socket *sock, | |||
39 | extern int inet_ioctl(struct socket *sock, | 39 | extern int inet_ioctl(struct socket *sock, |
40 | unsigned int cmd, unsigned long arg); | 40 | unsigned int cmd, unsigned long arg); |
41 | 41 | ||
42 | extern int inet_ctl_sock_create(struct socket **sock, | 42 | extern int inet_ctl_sock_create(struct sock **sk, |
43 | unsigned short family, | 43 | unsigned short family, |
44 | unsigned short type, | 44 | unsigned short type, |
45 | unsigned char protocol); | 45 | unsigned char protocol); |