09 Aug, 2016

1 commit


01 Jun, 2016

1 commit

  • Now we cannot distinguish that one sk is a udp or sctp style when
    we use ss to dump sctp_info. it's necessary to dump it as well.

    For sctp_diag, ss support is not officially available, thus there
    are no official users of this yet, so we can add this field in the
    middle of sctp_info without breaking user API.

    v1->v2:
    - move 'sctpi_s_type' field to the end of struct sctp_info, so
    that it won't cause incompatibility with applications already
    built.
    - add __reserved3 in sctp_info to make sure sctp_info is 8-byte
    alignment.

    Signed-off-by: Xin Long
    Acked-by: Marcelo Ricardo Leitner
    Acked-by: Neil Horman
    Signed-off-by: David S. Miller

    Xin Long
     

16 Apr, 2016

1 commit

  • sctp_diag will dump some important details of sctp's assoc or ep, we use
    sctp_info to describe them, sctp_get_sctp_info to get them, and export
    it to sctp_diag.ko.

    v2->v3:
    - we will not use list_for_each_safe in sctp_get_sctp_info, cause
    all the callers of it will use lock_sock.

    - fix the holes in struct sctp_info with __reserved* field.
    because sctp_diag is a new feature, and sctp_info is just for now,
    it may be changed in the future.

    Signed-off-by: Xin Long
    Signed-off-by: David S. Miller

    Xin Long
     

20 Jan, 2014

1 commit

  • The commit 91705c61b5202 ("net: sctp: trivial: update mailing list
    address") updated almost all the SCTP mailing list address from

    "lksctp-developers@lists.sourceforge.net"
    to
    "linux-sctp@vger.kernel.org"

    except for the one in include/linux/sctp.h file. Fix this way trivial
    one so that all is updated.

    Signed-off-by: Jean Sacren
    Cc: Daniel Borkmann
    Acked-by: Daniel Borkmann
    Signed-off-by: David S. Miller

    Jean Sacren
     

07 Dec, 2013

1 commit

  • Several files refer to an old address for the Free Software Foundation
    in the file header comment. Resolve by replacing the address with
    the URL so that we do not have to keep
    updating the header comments anytime the address changes.

    CC: Vlad Yasevich
    CC: Neil Horman
    Signed-off-by: Jeff Kirsher
    Signed-off-by: David S. Miller

    Jeff Kirsher
     

10 Apr, 2013

1 commit

  • This patch introduces an UAPI header for the SCTP protocol,
    so that we can facilitate the maintenance and development of
    user land applications or libraries, in particular in terms
    of header synchronization.

    To not break compatibility, some fragments from lksctp-tools'
    netinet/sctp.h have been carefully included, while taking care
    that neither kernel nor user land breaks, so both compile fine
    with this change (for lksctp-tools I tested with the old
    netinet/sctp.h header and with a newly adapted one that includes
    the uapi sctp header). lksctp-tools smoke test run through
    successfully as well in both cases.

    Suggested-by: Neil Horman
    Cc: Neil Horman
    Cc: Vlad Yasevich
    Signed-off-by: Daniel Borkmann
    Signed-off-by: David S. Miller

    Daniel Borkmann
     

03 Jun, 2010

1 commit


24 Nov, 2009

1 commit

  • This patch implement the definition for SACK-IMMEDIATELY
    extension.

    Section 3. The I-bit in the DATA Chunk Header

    The following Figure 1 shows the extended DATA chunk.

    0 1 2 3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | Type = 0 | Res |I|U|B|E| Length |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | TSN |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | Stream Identifier | Stream Sequence Number |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | Payload Protocol Identifier |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    \ \
    / User Data /
    \ \
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    Figure 1

    The only difference between the DATA chunk in Figure 1 and the DATA
    chunk defined in [RFC4960] is the addition of the I-bit in the flags
    field of the chunk header.

    Signed-off-by: Wei Yongjun
    Signed-off-by: Vlad Yasevich

    Wei Yongjun
     

03 Jun, 2009

1 commit

  • RFC5061 had changed the error cause codes for Dynamic Address
    Reconfiguration As the following:

    Cause Code
    Value Cause Code
    --------- ----------------
    0x00A0 Request to Delete Last Remaining IP Address
    0x00A1 Operation Refused Due to Resource Shortage
    0x00A2 Request to Delete Source IP Address
    0x00A3 Association Aborted Due to Illegal ASCONF-ACK
    0x00A4 Request Refused - No Authorization

    This patch fix the error cause codes.

    Signed-off-by: Wei Yongjun
    Signed-off-by: Vlad Yasevich

    Wei Yongjun
     

16 Feb, 2009

1 commit

  • The sctp crc32c checksum is always generated in little endian.
    So, we clean up the code to treat it as little endian and remove
    all the __force casts.

    Suggested by Herbert Xu.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     

15 Feb, 2009

1 commit


05 Feb, 2008

1 commit

  • I was notified by Randy Stewart that lksctp claims to be
    "the reference implementation". First of all, "the
    refrence implementation" was the original implementation
    of SCTP in usersapce written ty Randy and a few others.
    Second, after looking at the definiton of 'reference implementation',
    we don't really meet the requirements.

    Signed-off-by: Vlad Yasevich

    Vlad Yasevich
     

11 Oct, 2007

2 commits

  • Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     
  • SCTP Supported Extenions parameter is specified in Section 4.2.7
    of the ADD-IP draft (soon to be RFC). The parameter is
    encoded as:

    0 1 2 3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | Parameter Type = 0x8008 | Parameter Length |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | CHUNK TYPE 1 | CHUNK TYPE 2 | CHUNK TYPE 3 | CHUNK TYPE 4 |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | .... |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    | CHUNK TYPE N | PAD | PAD | PAD |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

    It contains a list of chunks that a particular SCTP extension
    uses. Current extensions supported are Partial Reliability
    (FWD-TSN) and ADD-IP (ASCONF and ASCONF-ACK).

    When implementing new extensions (AUTH, PKT-DROP, etc..), new
    chunks need to be added to this parameter. Parameter processing
    would be modified to negotiate support for these new features.

    Signed-off-by: Vlad Yasevich
    Signed-off-by: David S. Miller

    Vlad Yasevich
     

26 Apr, 2007

2 commits


23 Dec, 2006

1 commit


03 Dec, 2006

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds