Skip to content

sctp: support per endpoint auth and asconf flags

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8sctp: add asconf_enable in struct sctp_endpointinclude/net/sctp/structs.h net/sctp/endpointola.c net/sctp/sm_make_chunk.c +1 more+19 -200 replies
2/8sctp: not set peer.asconf_capable in sctp_association_initnet/sctp/associola.c+0 -90 replies
3/8sctp: check asoc peer.asconf_capable before processing asconfnet/sctp/sm_statefuns.c+4 -20 replies
4/8sctp: add SCTP_ASCONF_SUPPORTED sockoptinclude/uapi/linux/sctp.h net/sctp/socket.c+83 -05 replies
5/8sctp: use ep and asoc auth_enable properlynet/sctp/auth.c net/sctp/socket.c+44 -330 replies
6/8sctp: add sctp_auth_init and sctp_auth_freeinclude/net/sctp/auth.h net/sctp/auth.c net/sctp/endpointola.c+76 -560 replies
7/8sctp: add SCTP_AUTH_SUPPORTED sockoptinclude/uapi/linux/sctp.h net/sctp/socket.c+87 -00 replies
8/8sctp: remove net sctp.x_enable working as a global switchnet/sctp/sm_statetable.c+12 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/8] sctp: support per endpoint auth and asconf flags

This patchset mostly does 3 things:

1. add per endpint asconf flag and use asconf flag properly and add SCTP_ASCONF_SUPPORTED sockopt.
2. use auth flag properly and add SCTP_AUTH_SUPPORTED sockopt.
3. remove the 'global feature switch' to discard chunks.

Xin Long (8):
sctp: add asconf_enable in struct sctp_endpoint
sctp: not set peer.asconf_capable in sctp_association_init
sctp: check asoc peer.asconf_capable before processing asconf
sctp: add SCTP_ASCONF_SUPPORTED sockopt
sctp: use ep and asoc auth_enable properly
sctp: add sctp_auth_init and sctp_auth_free
sctp: add SCTP_AUTH_SUPPORTED sockopt
sctp: remove net sctp.x_enable working as a global switch

 include/net/sctp/auth.h    |   2 +
 include/net/sctp/structs.h |   1 +
 include/uapi/linux/sctp.h  |   2 +
 net/sctp/associola.c       |   9 --
 net/sctp/auth.c            | 101 ++++++++++++++++++--
 net/sctp/endpointola.c     |  64 ++-----------
 net/sctp/sm_make_chunk.c   |  18 ++--
 net/sctp/sm_statefuns.c    |   6 +-
 net/sctp/sm_statetable.c   |  28 +++---
 net/sctp/socket.c          | 230 ++++++++++++++++++++++++++++++++++++++-------
 10 files changed, 325 insertions(+), 136 deletions(-)
Signature · 1 line
2.1.0