Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e643df15 authored by Jon Maloy's avatar Jon Maloy Committed by Paul Gortmaker
Browse files

tipc: change sk_receive_queue upper limit



The sk_recv_queue upper limit for connectionless sockets has empirically
turned out to be too low. When we double the current limit we get much
fewer rejected messages and no noticable negative side-effects.

Signed-off-by: default avatarJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 9da3d475
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * net/tipc/socket.c: TIPC socket API
 *
 * Copyright (c) 2001-2007, Ericsson AB
 * Copyright (c) 2001-2007, 2012 Ericsson AB
 * Copyright (c) 2004-2008, 2010-2012, Wind River Systems
 * All rights reserved.
 *
@@ -43,7 +43,7 @@
#define SS_LISTENING	-1	/* socket is listening */
#define SS_READY	-2	/* socket is connectionless */

#define OVERLOAD_LIMIT_BASE	5000
#define OVERLOAD_LIMIT_BASE	10000
#define CONN_TIMEOUT_DEFAULT	8000	/* default connect timeout = 8s */

struct tipc_sock {