diff for duplicates of <50AA57EA.4000907@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 95649b1..88b176c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -193,7 +193,7 @@ On 11/15/2012 10:01 AM, Michele Baldessari wrote: > - else > + else { > SCTP_INC_STATS(net, SCTP_MIB_INCTRLCHUNKS); -> + if (chunk->chunk_hdr->type = SCTP_CID_SACK) +> + if (chunk->chunk_hdr->type == SCTP_CID_SACK) > + asoc->stats.isacks++; > + } @@ -287,7 +287,7 @@ after it is processed. > if (status != SCTP_XMIT_OK) { > /* put the chunk back */ > list_add(&chunk->list, &q->control_chunk_list); -> - } else if (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN) { +> - } else if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN) { > + } else { > + asoc->stats.octrlchunks++; > /* PR-SCTP C5) If a FORWARD TSN is sent, the @@ -295,14 +295,14 @@ after it is processed. > * timer is running. > */ > - sctp_transport_reset_timers(transport); -> + if (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN) +> + if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN) > + sctp_transport_reset_timers(transport); > } > break; > > @@ -1055,6 +1058,10 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout) > */ -> if (asoc->state = SCTP_STATE_SHUTDOWN_PENDING) +> if (asoc->state == SCTP_STATE_SHUTDOWN_PENDING) > chunk->chunk_hdr->flags |= SCTP_DATA_SACK_IMM; > + if (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED) > + asoc->stats.ouodchunks++; diff --git a/a/content_digest b/N1/content_digest index 2539276..80925f4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01352991680-12289-1-git-send-email-michele@acksyn.org\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" - "Subject\0Re: [PATCH v2 net-next] sctp: Add support to per-association statistics via a new SCTP_GET_ASSOC_STA\0" - "Date\0Mon, 19 Nov 2012 16:01:46 +0000\0" + "Subject\0Re: [PATCH v2 net-next] sctp: Add support to per-association statistics via a new SCTP_GET_ASSOC_STATS call\0" + "Date\0Mon, 19 Nov 2012 11:01:46 -0500\0" "To\0Michele Baldessari <michele@acksyn.org>\0" "Cc\0linux-sctp@vger.kernel.org" Neil Horman <nhorman@tuxdriver.com> @@ -205,7 +205,7 @@ "> -\t\telse\n" "> +\t\telse {\n" "> \t\t\tSCTP_INC_STATS(net, SCTP_MIB_INCTRLCHUNKS);\n" - "> +\t\t\tif (chunk->chunk_hdr->type = SCTP_CID_SACK)\n" + "> +\t\t\tif (chunk->chunk_hdr->type == SCTP_CID_SACK)\n" "> +\t\t\t\tasoc->stats.isacks++;\n" "> +\t\t}\n" "\n" @@ -299,7 +299,7 @@ "> \t\t\tif (status != SCTP_XMIT_OK) {\n" "> \t\t\t\t/* put the chunk back */\n" "> \t\t\t\tlist_add(&chunk->list, &q->control_chunk_list);\n" - "> -\t\t\t} else if (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN) {\n" + "> -\t\t\t} else if (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN) {\n" "> +\t\t\t} else {\n" "> +\t\t\t\tasoc->stats.octrlchunks++;\n" "> \t\t\t\t/* PR-SCTP C5) If a FORWARD TSN is sent, the\n" @@ -307,14 +307,14 @@ "> \t\t\t\t * timer is running.\n" "> \t\t\t\t */\n" "> -\t\t\t\tsctp_transport_reset_timers(transport);\n" - "> +\t\t\t\tif (chunk->chunk_hdr->type = SCTP_CID_FWD_TSN)\n" + "> +\t\t\t\tif (chunk->chunk_hdr->type == SCTP_CID_FWD_TSN)\n" "> +\t\t\t\t\tsctp_transport_reset_timers(transport);\n" "> \t\t\t}\n" "> \t\t\tbreak;\n" ">\n" "> @@ -1055,6 +1058,10 @@ static int sctp_outq_flush(struct sctp_outq *q, int rtx_timeout)\n" "> \t\t\t\t */\n" - "> \t\t\t\tif (asoc->state = SCTP_STATE_SHUTDOWN_PENDING)\n" + "> \t\t\t\tif (asoc->state == SCTP_STATE_SHUTDOWN_PENDING)\n" "> \t\t\t\t\tchunk->chunk_hdr->flags |= SCTP_DATA_SACK_IMM;\n" "> +\t\t\t\tif (chunk->chunk_hdr->flags & SCTP_DATA_UNORDERED)\n" "> +\t\t\t\t\tasoc->stats.ouodchunks++;\n" @@ -519,4 +519,4 @@ "> \tt->rttvar = 0;\n" > -1b538f9d8d64e9a999745d08c51a278812e4f30b0fbc37e2a8c19a8212bc9759 +1690e1ac7ab30680667731862737a47f878f0ff5ae5a43232a238beddb0a84d1
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.