[PATCH net-next 0/2] sctp: improve asoc streams management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset changes to define asoc->stream as an object, and also
improve some codes to make it more clearly.

Xin Long (2):
  sctp: define the member stream as an object instead of pointer in asoc
  sctp: merge sctp_stream_new and sctp_stream_init

 include/net/sctp/structs.h |  7 ++--
 net/sctp/associola.c       | 16 ++++----
 net/sctp/chunk.c           |  4 +-
 net/sctp/outqueue.c        | 10 ++---
 net/sctp/proc.c            |  4 +-
 net/sctp/sm_make_chunk.c   |  5 ++-
 net/sctp/sm_statefuns.c    |  8 ++--
 net/sctp/socket.c          | 14 +++----
 net/sctp/stream.c          | 93 ++++++++++++++++++++--------------------------
 net/sctp/ulpqueue.c        |  8 ++--
 10 files changed, 78 insertions(+), 91 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux