From: Vlad Yasevich Date: Sat, 30 Sep 2006 00:09:34 +0000 (-0700) Subject: [SCTP]: Use correct mask when disabling PMTUD. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b56bab46f3220eb6b1f71c000faa44c6b13fb148;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 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;