From: Xin Long <lucien.xin@gmail.com> To: network dev <netdev@vger.kernel.org>, linux-sctp@vger.kernel.org Cc: davem@davemloft.net, Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>, Vlad Yasevich <vyasevich@gmail.com>, daniel@iogearbox.net Subject: [PATCHv2 net 0/6] sctp: fix the transmit err process Date: Wed, 14 Sep 2016 02:04:17 +0800 [thread overview] Message-ID: <cover.1473789537.git.lucien.xin@gmail.com> (raw) This patchset is to improve the transmit err process and also fix some issues. After this patchset, once the chunks are enqueued successfully, even if the chunks fail to send out, no matter because of nodst or nomem, no err retruns back to users any more. Instead, they are taken care of by retransmit. v1->v2: - add more details to the changelog in patch 1/6 - add Fixes: tag in patch 2/6, 3/6 - also revert 69b5777f2e57 in patch 3/6 Xin Long (6): sctp: remove the unnecessary state check in sctp_outq_tail sctp: do not return the transmit err back to sctp_sendmsg sctp: free msg->chunks when sctp_primitive_SEND return err sctp: save transmit error to sk_err in sctp_outq_flush sctp: make sctp_outq_flush/tail/uncork return void sctp: not return ENOMEM err back in sctp_packet_transmit include/net/sctp/structs.h | 5 +-- net/sctp/chunk.c | 13 +++++++ net/sctp/output.c | 50 +++++++++++++------------- net/sctp/outqueue.c | 88 ++++++++++++++++------------------------------ net/sctp/sm_sideeffect.c | 25 +++++-------- net/sctp/socket.c | 8 +++-- 6 files changed, 85 insertions(+), 104 deletions(-) -- 2.1.0
WARNING: multiple messages have this Message-ID (diff)
From: Xin Long <lucien.xin@gmail.com> To: network dev <netdev@vger.kernel.org>, linux-sctp@vger.kernel.org Cc: davem@davemloft.net, Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>, Vlad Yasevich <vyasevich@gmail.com>, daniel@iogearbox.net Subject: [PATCHv2 net 0/6] sctp: fix the transmit err process Date: Tue, 13 Sep 2016 18:04:17 +0000 [thread overview] Message-ID: <cover.1473789537.git.lucien.xin@gmail.com> (raw) This patchset is to improve the transmit err process and also fix some issues. After this patchset, once the chunks are enqueued successfully, even if the chunks fail to send out, no matter because of nodst or nomem, no err retruns back to users any more. Instead, they are taken care of by retransmit. v1->v2: - add more details to the changelog in patch 1/6 - add Fixes: tag in patch 2/6, 3/6 - also revert 69b5777f2e57 in patch 3/6 Xin Long (6): sctp: remove the unnecessary state check in sctp_outq_tail sctp: do not return the transmit err back to sctp_sendmsg sctp: free msg->chunks when sctp_primitive_SEND return err sctp: save transmit error to sk_err in sctp_outq_flush sctp: make sctp_outq_flush/tail/uncork return void sctp: not return ENOMEM err back in sctp_packet_transmit include/net/sctp/structs.h | 5 +-- net/sctp/chunk.c | 13 +++++++ net/sctp/output.c | 50 +++++++++++++------------- net/sctp/outqueue.c | 88 ++++++++++++++++------------------------------ net/sctp/sm_sideeffect.c | 25 +++++-------- net/sctp/socket.c | 8 +++-- 6 files changed, 85 insertions(+), 104 deletions(-) -- 2.1.0
next reply other threads:[~2016-09-13 18:04 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-09-13 18:04 Xin Long [this message] 2016-09-13 18:04 ` [PATCHv2 net 0/6] sctp: fix the transmit err process Xin Long 2016-09-13 18:04 ` [PATCHv2 net 1/6] sctp: remove the unnecessary state check in sctp_outq_tail Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-13 18:04 ` [PATCHv2 net 2/6] sctp: do not return the transmit err back to sctp_sendmsg Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-13 18:04 ` [PATCHv2 net 3/6] sctp: free msg->chunks when sctp_primitive_SEND return err Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-13 18:04 ` [PATCHv2 net 4/6] sctp: save transmit error to sk_err in sctp_outq_flush Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-13 18:04 ` [PATCHv2 net 5/6] sctp: make sctp_outq_flush/tail/uncork return void Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-13 18:04 ` [PATCHv2 net 6/6] sctp: not return ENOMEM err back in sctp_packet_transmit Xin Long 2016-09-13 18:04 ` Xin Long 2016-09-14 17:16 ` [PATCHv2 net 0/6] sctp: fix the transmit err process Marcelo Ricardo Leitner 2016-09-14 17:16 ` Marcelo Ricardo Leitner 2016-09-19 2:03 ` David Miller 2016-09-19 2:03 ` David Miller
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1473789537.git.lucien.xin@gmail.com \ --to=lucien.xin@gmail.com \ --cc=daniel@iogearbox.net \ --cc=davem@davemloft.net \ --cc=linux-sctp@vger.kernel.org \ --cc=marcelo.leitner@gmail.com \ --cc=netdev@vger.kernel.org \ --cc=vyasevich@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.