summaryrefslogtreecommitdiffstats
path: root/net/core/request_sock.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-06-18 22:48:55 -0700
committerDavid S. Miller <davem@davemloft.net>2005-06-18 22:48:55 -0700
commit2ad69c55a282315e6119cf7fd744f26a925bdfd2 (patch)
tree85350a384e5c1c6646bd8f9e75c6f11c1f6752ff /net/core/request_sock.c
parent0e87506fcc734647c7b2497eee4eb81e785c857a (diff)
downloadlinux-stable-2ad69c55a282315e6119cf7fd744f26a925bdfd2.tar.gz
linux-stable-2ad69c55a282315e6119cf7fd744f26a925bdfd2.tar.bz2
linux-stable-2ad69c55a282315e6119cf7fd744f26a925bdfd2.zip
[NET] rename struct tcp_listen_opt to struct listen_sock
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/request_sock.c')
-rw-r--r--net/core/request_sock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/request_sock.c b/net/core/request_sock.c
index 1258333ca007..78fd60a46bf2 100644
--- a/net/core/request_sock.c
+++ b/net/core/request_sock.c
@@ -21,9 +21,9 @@
int reqsk_queue_alloc(struct request_sock_queue *queue,
const int nr_table_entries)
{
- const int lopt_size = sizeof(struct tcp_listen_opt) +
+ const int lopt_size = sizeof(struct listen_sock) +
nr_table_entries * sizeof(struct request_sock *);
- struct tcp_listen_opt *lopt = kmalloc(lopt_size, GFP_KERNEL);
+ struct listen_sock *lopt = kmalloc(lopt_size, GFP_KERNEL);
if (lopt == NULL)
return -ENOMEM;