]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCTP]: Use correct mask when disabling PMTUD.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Sat, 30 Sep 2006 00:09:34 +0000 (17:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Sep 2006 00:09:34 +0000 (17:09 -0700)
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>
net/sctp/input.c

index 03f65de75d88280c0096f4aac8efbbe4330e9383..4714882ada9664806dffe42aa687442c02b6e1a6 100644 (file)
@@ -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;