]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sctp/associola.c
sctp: Prevent uninitialized memory access
[linux-2.6-omap-h63xx.git] / net / sctp / associola.c
index 35b6a023a6d0cc828a37694877262e32285ddc2c..ec2a0a33fd780e8c8185c74cbbcf453dbebeb99a 100644 (file)
@@ -653,6 +653,7 @@ struct sctp_transport *sctp_assoc_add_peer(struct sctp_association *asoc,
 
        SCTP_DEBUG_PRINTK("sctp_assoc_add_peer:association %p PMTU set to "
                          "%d\n", asoc, asoc->pathmtu);
+       peer->pmtu_pending = 0;
 
        asoc->frag_point = sctp_frag_point(sp, asoc->pathmtu);