From: Xin Long <lucien.xin@gmail.com>
To: network dev <netdev@vger.kernel.org>, linux-sctp@vger.kernel.org
Cc: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Neil Horman <nhorman@tuxdriver.com>,
Vlad Yasevich <vyasevich@gmail.com>,
davem@davemloft.net
Subject: [PATCHv3 net-next 0/7] sctp: add sender-side procedures for stream reconf ssn reset request chunk
Date: Fri, 13 Jan 2017 19:15:34 +0000 [thread overview]
Message-ID: <cover.1484334002.git.lucien.xin@gmail.com> (raw)
Patch 7/7 is to implement sender-side procedures for the Outgoing
and Incoming SSN Reset Request Parameter described in rfc6525
section 5.1.2 and 5.1.3
Patches 1-6/7 are ahead of it to define some apis and asoc members
for it.
Note that with this patchset, asoc->reconf_enable has no chance yet to
be set, until the patch "sctp: add get and set sockopt for reconf_enable"
is applied in the future. As we can not just enable it when sctp is not
capable of processing reconf chunk yet.
v1->v2:
- put these into a smaller group.
- rename some temporary variables in the codes.
- rename the titles of the commits and improve some changelogs.
v2->v3:
- re-split the patchset and make sure it has no dead codes for review.
Xin Long (7):
sctp: add a common helper function to generate stream reconf chunk
sctp: add support for generating stream reconf ssn reset request chunk
sctp: add stream reconf timer
sctp: add stream reconf primitive
sctp: add reconf_enable in asoc ep and netns
sctp: add sockopt SCTP_ENABLE_STREAM_RESET
sctp: implement sender-side procedures for SSN Reset Request Parameter
include/linux/sctp.h | 32 ++++++++++
include/net/netns/sctp.h | 3 +
include/net/sctp/constants.h | 4 +-
include/net/sctp/sctp.h | 8 +++
include/net/sctp/sm.h | 8 ++-
include/net/sctp/structs.h | 21 ++++++-
include/uapi/linux/sctp.h | 18 ++++++
net/sctp/associola.c | 12 ++++
net/sctp/endpointola.c | 1 +
net/sctp/outqueue.c | 33 +++++++----
net/sctp/primitive.c | 3 +
net/sctp/protocol.c | 3 +
net/sctp/sm_make_chunk.c | 136 +++++++++++++++++++++++++++++++++++++++++++
net/sctp/sm_sideeffect.c | 32 ++++++++++
net/sctp/sm_statefuns.c | 41 +++++++++++++
net/sctp/sm_statetable.c | 40 +++++++++++++
net/sctp/socket.c | 113 +++++++++++++++++++++++++++++++++++
net/sctp/stream.c | 79 +++++++++++++++++++++++++
net/sctp/transport.c | 17 +++++-
19 files changed, 588 insertions(+), 16 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: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Neil Horman <nhorman@tuxdriver.com>,
Vlad Yasevich <vyasevich@gmail.com>,
davem@davemloft.net
Subject: [PATCHv3 net-next 0/7] sctp: add sender-side procedures for stream reconf ssn reset request chunk
Date: Sat, 14 Jan 2017 03:15:34 +0800 [thread overview]
Message-ID: <cover.1484334002.git.lucien.xin@gmail.com> (raw)
Patch 7/7 is to implement sender-side procedures for the Outgoing
and Incoming SSN Reset Request Parameter described in rfc6525
section 5.1.2 and 5.1.3
Patches 1-6/7 are ahead of it to define some apis and asoc members
for it.
Note that with this patchset, asoc->reconf_enable has no chance yet to
be set, until the patch "sctp: add get and set sockopt for reconf_enable"
is applied in the future. As we can not just enable it when sctp is not
capable of processing reconf chunk yet.
v1->v2:
- put these into a smaller group.
- rename some temporary variables in the codes.
- rename the titles of the commits and improve some changelogs.
v2->v3:
- re-split the patchset and make sure it has no dead codes for review.
Xin Long (7):
sctp: add a common helper function to generate stream reconf chunk
sctp: add support for generating stream reconf ssn reset request chunk
sctp: add stream reconf timer
sctp: add stream reconf primitive
sctp: add reconf_enable in asoc ep and netns
sctp: add sockopt SCTP_ENABLE_STREAM_RESET
sctp: implement sender-side procedures for SSN Reset Request Parameter
include/linux/sctp.h | 32 ++++++++++
include/net/netns/sctp.h | 3 +
include/net/sctp/constants.h | 4 +-
include/net/sctp/sctp.h | 8 +++
include/net/sctp/sm.h | 8 ++-
include/net/sctp/structs.h | 21 ++++++-
include/uapi/linux/sctp.h | 18 ++++++
net/sctp/associola.c | 12 ++++
net/sctp/endpointola.c | 1 +
net/sctp/outqueue.c | 33 +++++++----
net/sctp/primitive.c | 3 +
net/sctp/protocol.c | 3 +
net/sctp/sm_make_chunk.c | 136 +++++++++++++++++++++++++++++++++++++++++++
net/sctp/sm_sideeffect.c | 32 ++++++++++
net/sctp/sm_statefuns.c | 41 +++++++++++++
net/sctp/sm_statetable.c | 40 +++++++++++++
net/sctp/socket.c | 113 +++++++++++++++++++++++++++++++++++
net/sctp/stream.c | 79 +++++++++++++++++++++++++
net/sctp/transport.c | 17 +++++-
19 files changed, 588 insertions(+), 16 deletions(-)
--
2.1.0
next reply other threads:[~2017-01-13 19:15 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-13 19:15 Xin Long [this message]
2017-01-13 19:15 ` [PATCHv3 net-next 0/7] sctp: add sender-side procedures for stream reconf ssn reset request chunk Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 1/7] sctp: add a common helper function to generate stream reconf chunk Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 2/7] sctp: add support for generating stream reconf ssn reset request chunk Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 3/7] sctp: add stream reconf timer Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 4/7] sctp: add stream reconf primitive Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 5/7] sctp: add reconf_enable in asoc ep and netns Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 6/7] sctp: add sockopt SCTP_ENABLE_STREAM_RESET Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-13 19:15 ` [PATCHv3 net-next 7/7] sctp: implement sender-side procedures for SSN Reset Request Parameter Xin Long
2017-01-13 19:15 ` Xin Long
2017-01-15 15:51 ` [PATCHv3 net-next 2/7] sctp: add support for generating stream reconf ssn reset request chunk Marcelo Ricardo Leitner
2017-01-15 15:51 ` Marcelo Ricardo Leitner
2017-01-16 3:56 ` Xin Long
2017-01-16 3:56 ` Xin Long
2017-01-17 4:27 ` Xin Long
2017-01-17 4:27 ` Xin Long
2017-01-17 13:20 ` Marcelo Ricardo Leitner
2017-01-17 13:20 ` Marcelo Ricardo Leitner
2017-01-16 18:50 ` [PATCHv3 net-next 1/7] sctp: add a common helper function to generate stream reconf chunk David Miller
2017-01-16 18:50 ` David Miller
2017-01-17 3:41 ` Xin Long
2017-01-17 3:41 ` Xin Long
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.1484334002.git.lucien.xin@gmail.com \
--to=lucien.xin@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-sctp@vger.kernel.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--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: link
Be 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.