X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fcore%2Frequest_sock.c;h=b8203de5ff073c4e3bda5166ef1542b793141a0c;hb=f35279d3f713e5c97b98cbdbf47d98f79942c11f;hp=4e99ce5c08f2c5fe44fbcf94c236a5c35ef51418;hpb=83e3609eba3818f6e18b8bf9442195169ac306b7;p=linux-2.6 diff --git a/net/core/request_sock.c b/net/core/request_sock.c index 4e99ce5c08..b8203de5ff 100644 --- a/net/core/request_sock.c +++ b/net/core/request_sock.c @@ -32,7 +32,6 @@ * Further increasing requires to change hash table size. */ int sysctl_max_syn_backlog = 256; -EXPORT_SYMBOL(sysctl_max_syn_backlog); int reqsk_queue_alloc(struct request_sock_queue *queue, const int nr_table_entries) @@ -53,6 +52,7 @@ int reqsk_queue_alloc(struct request_sock_queue *queue, get_random_bytes(&lopt->hash_rnd, sizeof(lopt->hash_rnd)); rwlock_init(&queue->syn_wait_lock); queue->rskq_accept_head = queue->rskq_accept_head = NULL; + queue->rskq_defer_accept = 0; lopt->nr_table_entries = nr_table_entries; write_lock_bh(&queue->syn_wait_lock);