[NET] rename struct tcp_listen_opt to struct listen_sock
[deliverable/linux.git] / net / core / request_sock.c
index 1258333ca007bb9abb521f7e2878e16ee32a35ea..78fd60a46bf2de482627936d3fbe102a09306a30 100644 (file)
@@ -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;
This page took 0.025435 seconds and 5 git commands to generate.