projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a47949
)
[SCTP] Don't disable PMTU discovery when mtu is small
author
Vlad Yasevich
<vladislav.yasevich@hp.com>
Tue, 12 Jun 2007 19:26:22 +0000
(15:26 -0400)
committer
Vladislav Yasevich
<vxy@hera.kernel.org>
Wed, 13 Jun 2007 20:44:42 +0000
(20:44 +0000)
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>
net/sctp/transport.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/transport.c
b/net/sctp/transport.c
index e14c271cf28ba3059752cb6e8dae84bfa24e285e..5f467c914f8025fe595cf2a87bc355308abb587f 100644
(file)
--- 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;
}