Neal Cardwell d135c522f1 tcp: fix TCP_MAXSEG for established IPv6 passive sockets
Commit f5fff5d forgot to fix TCP_MAXSEG behavior IPv6 sockets, so IPv6
TCP server sockets that used TCP_MAXSEG would find that the advmss of
child sockets would be incorrect. This commit mirrors the advmss logic
from tcp_v4_syn_recv_sock in tcp_v6_syn_recv_sock. Eventually this
logic should probably be shared between IPv4 and IPv6, but this at
least fixes this issue.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-22 17:09:35 -04:00
..
2011-11-22 16:43:32 -05:00
2012-02-13 00:45:38 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2012-03-28 18:30:03 +01:00
2011-11-22 16:43:32 -05:00
2012-03-28 18:30:03 +01:00
2010-05-11 14:40:55 +02:00
2011-11-22 16:43:32 -05:00
2012-01-17 23:56:18 -05:00
2012-01-30 12:58:51 -05:00
2012-01-26 15:23:21 -05:00
2011-11-22 16:43:32 -05:00
2010-10-25 13:09:45 -07:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00