diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2006-09-29 20:09:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-09-29 20:09:34 -0400 |
commit | b56bab46f3220eb6b1f71c000faa44c6b13fb148 (patch) | |
tree | ffd2fe5959e0174838bcb735669ea26398ad3ca8 /net/sctp | |
parent | cd49788563d3b9e2ec0b316fa57aef1c0cb3bd4b (diff) |
[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.c | 2 |
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, | |||
388 | * pmtu discovery on this transport. | 388 | * pmtu discovery on this transport. |
389 | */ | 389 | */ |
390 | t->pathmtu = SCTP_DEFAULT_MINSEGMENT; | 390 | t->pathmtu = SCTP_DEFAULT_MINSEGMENT; |
391 | t->param_flags = (t->param_flags & ~SPP_HB) | | 391 | t->param_flags = (t->param_flags & ~SPP_PMTUD) | |
392 | SPP_PMTUD_DISABLE; | 392 | SPP_PMTUD_DISABLE; |
393 | } else { | 393 | } else { |
394 | t->pathmtu = pmtu; | 394 | t->pathmtu = pmtu; |