diff for duplicates of <5125108D.3010508@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 71f71fb..f7dac29 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -111,8 +111,8 @@ did notice the above aberration. > first_frag = pos; > next_tsn = ctsn + 1; > last_frag = pos; -> - } else if (next_tsn = ctsn) -> + } else if (next_tsn = ctsn) { +> - } else if (next_tsn == ctsn) +> + } else if (next_tsn == ctsn) { > next_tsn++; > - else > + last_frag = pos; @@ -163,7 +163,7 @@ against sctp_tsnmap_get_ctsn(), otherwise you may be stepping over a gap. > - sctp_ulpq_tail_data(ulpq, chunk, gfp); > - > - sctp_ulpq_partial_delivery(ulpq, gfp); -> + if (sctp_ulpq_tail_data(ulpq, chunk, gfp) = 0) { +> + if (sctp_ulpq_tail_data(ulpq, chunk, gfp) == 0) { > + skb = skb_peek(&ulpq->reasm); > + if (skb != NULL) { > + ctsn = sctp_skb2event(skb)->tsn; @@ -188,4 +188,5 @@ subject to possible hangs. > > sk_mem_reclaim(asoc->base.sk); > -> N�����r��y���b�X��ǧv�^�){.n�+����{���i�{ay�\x1dʇڙ�,j\a��f���h���z�\x1e�w���\f���j:+v���w�j�m����\a����zZ+��ݢj"��!tml> +> N�����r��y���b�X��ǧv�^�){.n�+����{���i�{ay�\x1dʇڙ�,j\a��f���h���z�\x1e�w���\f���j:+v���w�j�m����\a����zZ+��ݢj"��!tml= +> diff --git a/a/content_digest b/N1/content_digest index 0c16e86..ddcaee5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\0D64EC45690EF85409BA6C4730E0162244310CBC1@G4W3231.americas.hpqcorp.net\0" "From\0Vlad Yasevich <vyasevich@gmail.com>\0" "Subject\0Re: [PATCH 3/3] sctp: fix association hangs due to reassembly/ordering logic\0" - "Date\0Wed, 20 Feb 2013 18:06:05 +0000\0" + "Date\0Wed, 20 Feb 2013 13:06:05 -0500\0" "To\0Roberts" " Lee A. <lee.roberts@hp.com>\0" "Cc\0linux-sctp@vger.kernel.org <linux-sctp@vger.kernel.org>" @@ -123,8 +123,8 @@ "> \t\t\t\tfirst_frag = pos;\n" "> \t\t\t\tnext_tsn = ctsn + 1;\n" "> \t\t\t\tlast_frag = pos;\n" - "> -\t\t\t} else if (next_tsn = ctsn)\n" - "> +\t\t\t} else if (next_tsn = ctsn) {\n" + "> -\t\t\t} else if (next_tsn == ctsn)\n" + "> +\t\t\t} else if (next_tsn == ctsn) {\n" "> \t\t\t\tnext_tsn++;\n" "> -\t\t\telse\n" "> +\t\t\t\tlast_frag = pos;\n" @@ -175,7 +175,7 @@ "> -\t\tsctp_ulpq_tail_data(ulpq, chunk, gfp);\n" "> -\n" "> -\t\tsctp_ulpq_partial_delivery(ulpq, gfp);\n" - "> +\t\tif (sctp_ulpq_tail_data(ulpq, chunk, gfp) = 0) {\n" + "> +\t\tif (sctp_ulpq_tail_data(ulpq, chunk, gfp) == 0) {\n" "> +\t\t\tskb = skb_peek(&ulpq->reasm);\n" "> +\t\t\tif (skb != NULL) {\n" "> +\t\t\t\tctsn = sctp_skb2event(skb)->tsn;\n" @@ -200,6 +200,7 @@ ">\n" "> \tsk_mem_reclaim(asoc->base.sk);\n" ">\n" - "> N\357\277\275\357\277\275\357\277\275\357\277\275\357\277\275r\357\277\275\357\277\275y\357\277\275\357\277\275\357\277\275b\357\277\275X\357\277\275\357\277\275\307\247v\357\277\275^\357\277\275)\336\272{.n\357\277\275+\357\277\275\357\277\275\357\277\275\357\277\275{\357\277\275\357\277\275\357\277\275i\357\277\275{ay\357\277\275\035\312\207\332\231\357\277\275,j\a\357\277\275\357\277\275f\357\277\275\357\277\275\357\277\275h\357\277\275\357\277\275\357\277\275z\357\277\275\036\357\277\275w\357\277\275\357\277\275\357\277\275\f\357\277\275\357\277\275\357\277\275j:+v\357\277\275\357\277\275\357\277\275w\357\277\275j\357\277\275m\357\277\275\357\277\275\357\277\275\357\277\275\a\357\277\275\357\277\275\357\277\275\357\277\275zZ+\357\277\275\357\277\275\335\242j\"\357\277\275\357\277\275!tml>" + "> N\357\277\275\357\277\275\357\277\275\357\277\275\357\277\275r\357\277\275\357\277\275y\357\277\275\357\277\275\357\277\275b\357\277\275X\357\277\275\357\277\275\307\247v\357\277\275^\357\277\275)\336\272{.n\357\277\275+\357\277\275\357\277\275\357\277\275\357\277\275{\357\277\275\357\277\275\357\277\275i\357\277\275{ay\357\277\275\035\312\207\332\231\357\277\275,j\a\357\277\275\357\277\275f\357\277\275\357\277\275\357\277\275h\357\277\275\357\277\275\357\277\275z\357\277\275\036\357\277\275w\357\277\275\357\277\275\357\277\275\f\357\277\275\357\277\275\357\277\275j:+v\357\277\275\357\277\275\357\277\275w\357\277\275j\357\277\275m\357\277\275\357\277\275\357\277\275\357\277\275\a\357\277\275\357\277\275\357\277\275\357\277\275zZ+\357\277\275\357\277\275\335\242j\"\357\277\275\357\277\275!tml=\n" + > -0d346cc213f3c0f290d61e0ef980b3acf8c9be270c9881f0c583ecd5ef00a9a8 +f386a149c30c449a300728b0767239fdbd7cc7694e2e79fee2037308051598a9
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.