summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2006-09-30 02:09:34 +0200
committerDavid S. Miller <davem@davemloft.net>2006-09-30 02:09:34 +0200
commitb56bab46f3220eb6b1f71c000faa44c6b13fb148 (patch)
treeffd2fe5959e0174838bcb735669ea26398ad3ca8 /net/sctp
parent[SCTP]: Include sk_buff overhead while updating the peer's receive window. (diff)
downloadlinux-b56bab46f3220eb6b1f71c000faa44c6b13fb148.tar.xz
linux-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;