From e21eb45a4841b24713cb131da9dad787a9871267 Mon Sep 17 00:00:00 2001 From: Sridhar Samudrala Date: Thu, 17 Apr 2003 20:09:15 -0700 Subject: [SCTP] Handle accept() of a CLOSED association. --- include/net/sctp/constants.h | 2 +- include/net/sctp/structs.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index 60fe2147486f..9cdd0e551c19 100644 --- a/include/net/sctp/constants.h +++ b/include/net/sctp/constants.h @@ -216,7 +216,7 @@ typedef enum { * - A socket in SCTP_SS_LISTENING state indicates that it is willing to * accept new associations, but cannot initiate the creation of new ones. * - A socket in SCTP_SS_ESTABLISHED state indicates that it has a single - * association in ESTABLISHED state. + * association. */ typedef enum { SCTP_SS_CLOSED = TCP_CLOSE, diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 719aa2cbb28c..a4fcb9e14d01 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1545,6 +1545,9 @@ struct sctp_association { * after reaching 4294967295. */ __u32 addip_serial; + + /* Is it a temporary association? */ + __u8 temp; }; -- cgit v1.2.3