]> err.no Git - linux-2.6/blobdiff - net/sctp/associola.c
video: sh7760fb: SH7760/SH7763 LCDC framebuffer driver
[linux-2.6] / net / sctp / associola.c
index ff1dc5bd936c3016d7340b223a61a110470531b7..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);
 
@@ -1025,7 +1026,6 @@ static void sctp_assoc_bh_rcv(struct work_struct *work)
        struct sctp_chunk *chunk;
        struct sock *sk;
        struct sctp_inq *inqueue;
-       struct sctp_outq *outq;
        int state;
        sctp_subtype_t subtype;
        int error = 0;