David S. Miller 7a1abd08d5 tcp: Increase TCP_MAXSEG socket option minimum.
As noted by Steve Chen, since commit
f5fff5dc8a7a3f395b0525c02ba92c95d42b7390 ("tcp: advertise MSS
requested by user") we can end up with a situation where
tcp_select_initial_window() does a divide by a zero (or
even negative) mss value.

The problem is that sometimes we effectively subtract
TCPOLEN_TSTAMP_ALIGNED and/or TCPOLEN_MD5SIG_ALIGNED from the mss.

Fix this by increasing the minimum from 8 to 64.

Reported-by: Steve Chen <schen@mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-10 21:35:37 -08:00
..
2010-10-21 04:26:39 -07:00
2010-10-25 13:09:44 -07:00
2010-10-25 13:09:43 -07:00
2010-11-10 12:12:00 -08:00
2010-10-28 10:27:01 -07:00
2010-11-10 12:12:00 -08:00
2010-09-23 14:33:39 -07:00
2010-09-23 14:33:39 -07:00
2010-10-21 15:44:13 +02:00
2010-06-03 03:21:52 -07:00
2010-09-23 14:33:39 -07:00
2010-04-20 16:37:13 -07:00
2010-11-10 12:12:00 -08:00
2010-08-09 11:25:17 +02:00
2010-10-21 03:09:46 -07:00
2010-10-15 15:53:27 +02:00