diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-06-19 01:48:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-19 01:48:55 -0400 |
commit | 2ad69c55a282315e6119cf7fd744f26a925bdfd2 (patch) | |
tree | 85350a384e5c1c6646bd8f9e75c6f11c1f6752ff /net/core/request_sock.c | |
parent | 0e87506fcc734647c7b2497eee4eb81e785c857a (diff) |
[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.c | 4 |
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 @@ | |||
21 | int reqsk_queue_alloc(struct request_sock_queue *queue, | 21 | int reqsk_queue_alloc(struct request_sock_queue *queue, |
22 | const int nr_table_entries) | 22 | const int nr_table_entries) |
23 | { | 23 | { |
24 | const int lopt_size = sizeof(struct tcp_listen_opt) + | 24 | const int lopt_size = sizeof(struct listen_sock) + |
25 | nr_table_entries * sizeof(struct request_sock *); | 25 | nr_table_entries * sizeof(struct request_sock *); |
26 | struct tcp_listen_opt *lopt = kmalloc(lopt_size, GFP_KERNEL); | 26 | struct listen_sock *lopt = kmalloc(lopt_size, GFP_KERNEL); |
27 | 27 | ||
28 | if (lopt == NULL) | 28 | if (lopt == NULL) |
29 | return -ENOMEM; | 29 | return -ENOMEM; |