sctp: support per endpoint auth and asconf flags
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | sctp: add asconf_enable in struct sctp_endpointinclude/ net/ net/ +1 more | +19 | 0 replies | |
| 2/8 | sctp: not set peer.asconf_capable in sctp_association_initnet/ | +0 | 0 replies | |
| 3/8 | sctp: check asoc peer.asconf_capable before processing asconfnet/ | +4 | 0 replies | |
| 4/8 | sctp: add SCTP_ASCONF_SUPPORTED sockoptinclude/ net/ | +83 | 5 replies | |
| 5/8 | sctp: use ep and asoc auth_enable properlynet/ net/ | +44 | 0 replies | |
| 6/8 | sctp: add sctp_auth_init and sctp_auth_freeinclude/ net/ net/ | +76 | 0 replies | |
| 7/8 | sctp: add SCTP_AUTH_SUPPORTED sockoptinclude/ net/ | +87 | 0 replies | |
| 8/8 | sctp: remove net sctp.x_enable working as a global switchnet/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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