netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/6] sctp: fix the transmit err process
@ 2016-09-08  9:31 Xin Long
  2016-09-08  9:31 ` [PATCH net 1/6] sctp: remove the unnecessary state check in sctp_outq_tail Xin Long
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Xin Long @ 2016-09-08  9:31 UTC (permalink / raw)
  To: network dev, linux-sctp
  Cc: davem, Marcelo Ricardo Leitner, Vlad Yasevich, daniel

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.

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        | 89 ++++++++++++++++------------------------------
 net/sctp/sm_sideeffect.c   | 25 +++++--------
 net/sctp/socket.c          |  6 ++--
 6 files changed, 84 insertions(+), 104 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-09-13 17:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-08  9:31 [PATCH net 0/6] sctp: fix the transmit err process Xin Long
2016-09-08  9:31 ` [PATCH net 1/6] sctp: remove the unnecessary state check in sctp_outq_tail Xin Long
2016-09-08  9:31   ` [PATCH net 2/6] sctp: do not return the transmit err back to sctp_sendmsg Xin Long
2016-09-08  9:31     ` [PATCH net 3/6] sctp: free msg->chunks when sctp_primitive_SEND return err Xin Long
2016-09-12 19:41       ` Marcelo Ricardo Leitner
2016-09-08 14:27   ` [PATCH net 1/6] sctp: remove the unnecessary state check in sctp_outq_tail Neil Horman
2016-09-08 17:34     ` Xin Long
2016-09-08 19:23       ` Neil Horman
2016-09-09  7:11         ` Xin Long
2016-09-09 14:28           ` Neil Horman
2016-09-09 16:03             ` Xin Long
2016-09-12 19:48               ` Marcelo Ricardo Leitner
2016-09-13 17:58                 ` Xin Long
2016-09-13 11:57               ` Neil Horman
2016-09-08  9:43 ` [PATCH net 4/6] sctp: save transmit error to sk_err in sctp_outq_flush Xin Long
2016-09-08  9:44 ` [PATCH net 5/6] sctp: make sctp_outq_flush/tail/uncork return void Xin Long
2016-09-08  9:44 ` [PATCH net 6/6] sctp: not return ENOMEM err back in sctp_packet_transmit Xin Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).