From: Vlad Yasevich Date: Tue, 12 Jun 2007 19:26:22 +0000 (-0400) Subject: [SCTP] Don't disable PMTU discovery when mtu is small X-Git-Tag: v2.6.22-rc5~39^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06ad391919b2078ec2e012f0593014b88e7a6c4e;p=profile%2Fivi%2Fkernel-x86-ivi.git [SCTP] Don't disable PMTU discovery when mtu is small Right now, when we receive a mtu estimate smaller then minim threshold in the ICMP message, we disable the path mtu discovery on the transport. This leads to the never increasing sctp fragmentation point even when the real path mtu has increased. Signed-off-by: Vlad Yasevich --- diff --git a/net/sctp/transport.c b/net/sctp/transport.c index e14c271..5f467c9 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c @@ -271,8 +271,6 @@ void sctp_transport_update_pmtu(struct sctp_transport *t, u32 pmtu) * pmtu discovery on this transport. */ t->pathmtu = SCTP_DEFAULT_MINSEGMENT; - t->param_flags = (t->param_flags & ~SPP_PMTUD) | - SPP_PMTUD_DISABLE; } else { t->pathmtu = pmtu; }