summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2006-09-29 17:09:34 -0700
committerDavid S. Miller <davem@davemloft.net>2006-09-29 17:09:34 -0700
commitb56bab46f3220eb6b1f71c000faa44c6b13fb148 (patch)
treeffd2fe5959e0174838bcb735669ea26398ad3ca8 /net/sctp
parentcd49788563d3b9e2ec0b316fa57aef1c0cb3bd4b (diff)
downloadlwn-b56bab46f3220eb6b1f71c000faa44c6b13fb148.tar.gz
lwn-b56bab46f3220eb6b1f71c000faa44c6b13fb148.zip
[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>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c
index 03f65de75d88..4714882ada96 100644
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -388,7 +388,7 @@ void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc,
* 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;