All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sctp: make the max_burst min value to 1
@ 2013-12-02  6:51 ` Wang Weidong
  0 siblings, 0 replies; 26+ messages in thread
From: Wang Weidong @ 2013-12-02  6:51 UTC (permalink / raw)
  To: Vlad Yasevich, nhorman, David Miller; +Cc: linux-sctp, netdev, dingtianhong

From: Wang Weidong <wangweidong1@huawei.com>

when I setted the max_burst to 0, do the lksctp-tools I got hang.
I found sctp_transport_burst_limited would make the cwnd to 0.
so I make the max_burst min value to 1.
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
---
 net/sctp/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c
index 7637e8e..46832d3 100644
--- a/net/sctp/sysctl.c
+++ b/net/sctp/sysctl.c
@@ -135,7 +135,7 @@ static struct ctl_table sctp_net_table[] = {
 		.maxlen		= sizeof(int),
 		.mode		= 0644,
 		.proc_handler	= proc_dointvec_minmax,
-		.extra1		= &zero,
+		.extra1		= &one,
 		.extra2		= &int_max
 	},
 	{
-- 
1.7.12


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-12-06  1:56 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02  6:51 [PATCH] sctp: make the max_burst min value to 1 Wang Weidong
2013-12-02  6:51 ` Wang Weidong
2013-12-02 11:56 ` Neil Horman
2013-12-02 11:56   ` Neil Horman
2013-12-02 12:03   ` Wang Weidong
2013-12-02 12:03     ` Wang Weidong
2013-12-02 14:51     ` Vlad Yasevich
2013-12-02 14:51       ` Vlad Yasevich
2013-12-03  1:35       ` Wang Weidong
2013-12-03  1:35         ` Wang Weidong
2013-12-02 13:08   ` Michael Tuexen
2013-12-02 13:08     ` Michael Tuexen
2013-12-03  6:30     ` [PATCH] sctp: disable max_burst when the max_burst is 0 Wang Weidong
2013-12-03  6:30       ` Wang Weidong
2013-12-04  8:57       ` Daniel Borkmann
2013-12-04  8:57         ` Daniel Borkmann
2013-12-04  9:16         ` Wang Weidong
2013-12-04  9:16           ` Wang Weidong
2013-12-04  9:32 ` [PATCH v2] " Wang Weidong
2013-12-04  9:32   ` Wang Weidong
2013-12-04 11:45   ` Neil Horman
2013-12-04 11:45     ` Neil Horman
2013-12-04 14:28   ` Vlad Yasevich
2013-12-04 14:28     ` Vlad Yasevich
2013-12-06  1:56   ` David Miller
2013-12-06  1:56     ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.