From: Vlad Yasevich 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~647^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b56bab46f3220eb6b1f71c000faa44c6b13fb148;p=linux-2.6-omap-h63xx.git [SCTP]: Use correct mask when disabling PMTUD. Signed-off-by: Vlad Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller --- diff --git a/net/sctp/input.c b/net/sctp/input.c index 03f65de75d8..4714882ada9 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;