summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-06-12 21:26:22 +0200
committerVladislav Yasevich <vxy@hera.kernel.org>2007-06-13 22:44:42 +0200
commit06ad391919b2078ec2e012f0593014b88e7a6c4e (patch)
tree47d6216288042a65d32c0277f884fd89b1b401a2 /net/sctp
parent[SCTP] Flag a pmtu change request (diff)
downloadlinux-06ad391919b2078ec2e012f0593014b88e7a6c4e.tar.xz
linux-06ad391919b2078ec2e012f0593014b88e7a6c4e.zip
[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 <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/transport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index e14c271cf28b..5f467c914f80 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;
}