diff for duplicates of <20170320180457.GD23553@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index f5e63d1..bfe7a7d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -32,10 +32,10 @@ On Fri, Mar 10, 2017 at 12:11:07PM +0800, Xin Long wrote: > --- a/net/sctp/sm_statefuns.c > +++ b/net/sctp/sm_statefuns.c > @@ -3872,6 +3872,9 @@ sctp_disposition_t sctp_sf_do_reconf(struct net *net, -> else if (param.p->type = SCTP_PARAM_RESET_IN_REQUEST) +> else if (param.p->type == SCTP_PARAM_RESET_IN_REQUEST) > reply = sctp_process_strreset_inreq( > (struct sctp_association *)asoc, param, &ev); -> + else if (param.p->type = SCTP_PARAM_RESET_TSN_REQUEST) +> + else if (param.p->type == SCTP_PARAM_RESET_TSN_REQUEST) > + reply = sctp_process_strreset_tsnreq( > + (struct sctp_association *)asoc, param, &ev); > /* More handles for other types will be added here, by now it @@ -66,7 +66,7 @@ On Fri, Mar 10, 2017 at 12:11:07PM +0800, Xin Long wrote: > + if (request_seq > asoc->strreset_inseq) { > + result = SCTP_STRRESET_ERR_BAD_SEQNO; > + goto out; -> + } else if (request_seq = asoc->strreset_inseq) { +> + } else if (request_seq == asoc->strreset_inseq) { > + asoc->strreset_inseq++; > + } diff --git a/a/content_digest b/N1/content_digest index 33b948b..27fb477 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\0cover.1489118815.git.lucien.xin@gmail.com\0" "ref\0f224235b4621ea3a182e959873f6fe0ba78e5416.1489118815.git.lucien.xin@gmail.com\0" "From\0Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>\0" - "Subject\0Re: [PATCHv2 net-next 2/7] sctp: implement receiver-side procedures for the SSN/TSN Reset Request Pa\0" - "Date\0Mon, 20 Mar 2017 18:04:57 +0000\0" + "Subject\0Re: [PATCHv2 net-next 2/7] sctp: implement receiver-side procedures for the SSN/TSN Reset Request Parameter\0" + "Date\0Mon, 20 Mar 2017 15:04:57 -0300\0" "To\0Xin Long <lucien.xin@gmail.com>\0" "Cc\0network dev <netdev@vger.kernel.org>" linux-sctp@vger.kernel.org @@ -45,10 +45,10 @@ "> --- a/net/sctp/sm_statefuns.c\n" "> +++ b/net/sctp/sm_statefuns.c\n" "> @@ -3872,6 +3872,9 @@ sctp_disposition_t sctp_sf_do_reconf(struct net *net,\n" - "> \t\telse if (param.p->type = SCTP_PARAM_RESET_IN_REQUEST)\n" + "> \t\telse if (param.p->type == SCTP_PARAM_RESET_IN_REQUEST)\n" "> \t\t\treply = sctp_process_strreset_inreq(\n" "> \t\t\t\t(struct sctp_association *)asoc, param, &ev);\n" - "> +\t\telse if (param.p->type = SCTP_PARAM_RESET_TSN_REQUEST)\n" + "> +\t\telse if (param.p->type == SCTP_PARAM_RESET_TSN_REQUEST)\n" "> +\t\t\treply = sctp_process_strreset_tsnreq(\n" "> +\t\t\t\t(struct sctp_association *)asoc, param, &ev);\n" "> \t\t/* More handles for other types will be added here, by now it\n" @@ -79,7 +79,7 @@ "> +\tif (request_seq > asoc->strreset_inseq) {\n" "> +\t\tresult = SCTP_STRRESET_ERR_BAD_SEQNO;\n" "> +\t\tgoto out;\n" - "> +\t} else if (request_seq = asoc->strreset_inseq) {\n" + "> +\t} else if (request_seq == asoc->strreset_inseq) {\n" "> +\t\tasoc->strreset_inseq++;\n" "> +\t}\n" "\n" @@ -154,4 +154,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -1907665cf38fa6678fed84be975f31ce2e9aa0fa735c7db5eeba5810ed53ec37 +a8bcdc49dd0c6f4222aaf23eb91458b1ef58d2ac32a36ee59d086d926f817e80
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.