All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] sctp: fix sk_wmem_queued and use it to check for writable space
@ 2018-10-16 19:07 ` Xin Long
  0 siblings, 0 replies; 8+ messages in thread
From: Xin Long @ 2018-10-16 19:07 UTC (permalink / raw)
  To: network dev, linux-sctp; +Cc: Marcelo Ricardo Leitner, Neil Horman, davem

sctp doesn't count and use asoc sndbuf_used, sk sk_wmem_alloc and
sk_wmem_queued properly, which also causes some problem.

This patchset is to improve it.

Xin Long (2):
  sctp: count both sk and asoc sndbuf with skb truesize and sctp_chunk
    size
  sctp: use sk_wmem_queued to check for writable space

 include/net/sctp/constants.h |  5 ----
 net/sctp/outqueue.c          |  8 ++----
 net/sctp/socket.c            | 59 +++++++++++---------------------------------
 3 files changed, 17 insertions(+), 55 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2018-10-19  2:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 19:07 [PATCH net-next 0/2] sctp: fix sk_wmem_queued and use it to check for writable space Xin Long
2018-10-16 19:07 ` Xin Long
2018-10-16 19:07 ` [PATCH net-next 1/2] sctp: count both sk and asoc sndbuf with skb truesize and sctp_chunk size Xin Long
2018-10-16 19:07   ` Xin Long
2018-10-16 19:07   ` [PATCH net-next 2/2] sctp: use sk_wmem_queued to check for writable space Xin Long
2018-10-16 19:07     ` Xin Long
2018-10-18 18:24 ` [PATCH net-next 0/2] sctp: fix sk_wmem_queued and use it " David Miller
2018-10-18 18:24   ` David Miller

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.