25 lines
883 B
Diff
25 lines
883 B
Diff
From: Vlad Yasevich <vladislav.yasevich@hp.com>
|
|
Date: Sat, 30 Sep 2006 00:09:34 +0000 (-0700)
|
|
Subject: [SCTP]: Use correct mask when disabling PMTUD.
|
|
X-Git-Tag: v2.6.19-rc1
|
|
X-Git-Url: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b56bab46f3220eb6b1f71c000faa44c6b13fb148
|
|
|
|
[SCTP]: Use correct mask when disabling PMTUD.
|
|
|
|
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
|
|
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
|
|
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
---
|
|
|
|
--- a/net/sctp/input.c
|
|
+++ b/net/sctp/input.c
|
|
@@ -388,7 +388,7 @@ void sctp_icmp_frag_needed(struct sock *
|
|
* pmtu discovery on this transport.
|
|
*/
|
|
t->pathmtu = SCTP_DEFAULT_MINSEGMENT;
|
|
- t->param_flags = (t->param_flags & ~SPP_HB) |
|
|
+ t->param_flags = (t->param_flags & ~SPP_PMTUD) |
|
|
SPP_PMTUD_DISABLE;
|
|
} else {
|
|
t->pathmtu = pmtu;
|