X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fsctp%2Fassociola.c;h=16b718fa5172ec5d1cbf2fceae0abe6c8b8b265c;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=1a2ac8b4a01d0bd8a0f56dd1822276a7535b961e;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 1a2ac8b4a..16b718fa5 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c @@ -879,7 +879,7 @@ static void sctp_assoc_bh_rcv(struct sctp_association *asoc) if (sctp_chunk_is_data(chunk)) asoc->peer.last_data_from = chunk->transport; else - SCTP_INC_STATS(SctpInCtrlChunks); + SCTP_INC_STATS(SCTP_MIB_INCTRLCHUNKS); if (chunk->transport) chunk->transport->last_time_heard = jiffies; @@ -1093,6 +1093,7 @@ static inline int sctp_peer_needs_update(struct sctp_association *asoc) case SCTP_STATE_ESTABLISHED: case SCTP_STATE_SHUTDOWN_PENDING: case SCTP_STATE_SHUTDOWN_RECEIVED: + case SCTP_STATE_SHUTDOWN_SENT: if ((asoc->rwnd > asoc->a_rwnd) && ((asoc->rwnd - asoc->a_rwnd) >= min_t(__u32, (asoc->base.sk->sk_rcvbuf >> 1), asoc->pmtu)))