diff options
author | Neal Cardwell <ncardwell@google.com> | 2012-04-22 09:45:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-27 09:51:21 -0700 |
commit | ad24d0be9d68b8907bcdd170649214db4ce6a55c (patch) | |
tree | 2cb00c49b848ffeb4723e9237b9f1e92e49f2514 /net/tipc/zone.c | |
parent | 28b78eb401b7e60c0984eacf3837cf09a2307253 (diff) | |
download | kernel_samsung_smdk4412-ad24d0be9d68b8907bcdd170649214db4ce6a55c.tar.gz kernel_samsung_smdk4412-ad24d0be9d68b8907bcdd170649214db4ce6a55c.tar.bz2 kernel_samsung_smdk4412-ad24d0be9d68b8907bcdd170649214db4ce6a55c.zip |
tcp: fix TCP_MAXSEG for established IPv6 passive sockets
[ Upstream commit d135c522f1234f62e81be29cebdf59e9955139ad ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/tipc/zone.c')
0 files changed, 0 insertions, 0 deletions