diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-06-18 22:48:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-18 22:48:55 -0700 |
commit | 2ad69c55a282315e6119cf7fd744f26a925bdfd2 (patch) | |
tree | 85350a384e5c1c6646bd8f9e75c6f11c1f6752ff /net/core | |
parent | 0e87506fcc734647c7b2497eee4eb81e785c857a (diff) | |
download | kernel_samsung_espresso10-2ad69c55a282315e6119cf7fd744f26a925bdfd2.zip kernel_samsung_espresso10-2ad69c55a282315e6119cf7fd744f26a925bdfd2.tar.gz kernel_samsung_espresso10-2ad69c55a282315e6119cf7fd744f26a925bdfd2.tar.bz2 |
[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')
-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 1258333..78fd60a 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; |