diff for duplicates of <20160428204659.GA2276@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 7441aaf..94195bd 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -164,14 +164,14 @@ index ec12a8920e5fd7a0f26d19f1695bc2feeae41518..ec166d2bd2d95d9aa69369da2ead9437 * the association the cause of the partial delivery. */ -- if (atomic_read(&sctp_sk(sk)->pd_mode) = 0) { -+ if (atomic_read(&sp->pd_mode) = 0) { +- if (atomic_read(&sctp_sk(sk)->pd_mode) == 0) { ++ if (atomic_read(&sp->pd_mode) == 0) { queue = &sk->sk_receive_queue; } else { if (ulpq->pd_mode) { @@ -231,7 +232,7 @@ int sctp_ulpq_tail_event(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) if ((event->msg_flags & MSG_NOTIFICATION) || - (SCTP_DATA_NOT_FRAG = + (SCTP_DATA_NOT_FRAG == (event->msg_flags & SCTP_DATA_FRAG_MASK))) - queue = &sctp_sk(sk)->pd_lobby; + queue = &sp->pd_lobby; @@ -195,9 +195,9 @@ index ec12a8920e5fd7a0f26d19f1695bc2feeae41518..ec166d2bd2d95d9aa69369da2ead9437 if (clear_pd) sctp_ulpq_clear_pd(ulpq); -- if (queue = &sk->sk_receive_queue) +- if (queue == &sk->sk_receive_queue) - sctp_sk(sk)->pending_data_ready = 1; -+ if (queue = &sk->sk_receive_queue && !sp->data_ready_signalled) { ++ if (queue == &sk->sk_receive_queue && !sp->data_ready_signalled) { + sp->data_ready_signalled = 1; + sk->sk_data_ready(sk); + } diff --git a/a/content_digest b/N1/content_digest index 94c25e5..cab754e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -6,7 +6,7 @@ "ref\020160414201900.GK15005@localhost.localdomain\0" "From\0marcelo.leitner@gmail.com\0" "Subject\0Re: [PATCH v3 0/2] sctp: delay calls to sk_data_ready() as much as possible\0" - "Date\0Thu, 28 Apr 2016 20:46:59 +0000\0" + "Date\0Thu, 28 Apr 2016 17:46:59 -0300\0" "To\0Neil Horman <nhorman@tuxdriver.com>\0" "Cc\0David Miller <davem@davemloft.net>" netdev@vger.kernel.org @@ -182,14 +182,14 @@ " \t * the association the cause of the partial delivery.\n" " \t */\n" " \n" - "-\tif (atomic_read(&sctp_sk(sk)->pd_mode) = 0) {\n" - "+\tif (atomic_read(&sp->pd_mode) = 0) {\n" + "-\tif (atomic_read(&sctp_sk(sk)->pd_mode) == 0) {\n" + "+\tif (atomic_read(&sp->pd_mode) == 0) {\n" " \t\tqueue = &sk->sk_receive_queue;\n" " \t} else {\n" " \t\tif (ulpq->pd_mode) {\n" "@@ -231,7 +232,7 @@ int sctp_ulpq_tail_event(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event)\n" " \t\t\tif ((event->msg_flags & MSG_NOTIFICATION) ||\n" - " \t\t\t (SCTP_DATA_NOT_FRAG =\n" + " \t\t\t (SCTP_DATA_NOT_FRAG ==\n" " \t\t\t\t (event->msg_flags & SCTP_DATA_FRAG_MASK)))\n" "-\t\t\t\tqueue = &sctp_sk(sk)->pd_lobby;\n" "+\t\t\t\tqueue = &sp->pd_lobby;\n" @@ -213,9 +213,9 @@ " \tif (clear_pd)\n" " \t\tsctp_ulpq_clear_pd(ulpq);\n" " \n" - "-\tif (queue = &sk->sk_receive_queue)\n" + "-\tif (queue == &sk->sk_receive_queue)\n" "-\t\tsctp_sk(sk)->pending_data_ready = 1;\n" - "+\tif (queue = &sk->sk_receive_queue && !sp->data_ready_signalled) {\n" + "+\tif (queue == &sk->sk_receive_queue && !sp->data_ready_signalled) {\n" "+\t\tsp->data_ready_signalled = 1;\n" "+\t\tsk->sk_data_ready(sk);\n" "+\t}\n" @@ -250,4 +250,4 @@ "-- \n" 2.5.0 -6f04252756b58a7b31830f182868e00f4a6b370e5780e9fa247b6a225187dccb +1ddeb8e7167ed625d3224f541a200b87b2277230fe08a95dc6456fec839a4436
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.