summaryrefslogtreecommitdiff
path: root/include/net/sctp/structs.h
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2010-05-01 02:41:10 (GMT)
committerVlad Yasevich <vladislav.yasevich@hp.com>2010-05-01 02:41:10 (GMT)
commitcf9b4812e18aab6f86ff998bd7425a9e823269c3 (patch)
tree51181bd38679112d3abc32ba6dc4266acad9251c /include/net/sctp/structs.h
parentb2cf9b6bd93af1cc047d3356f1c6cc9367fe3731 (diff)
downloadlinux-cf9b4812e18aab6f86ff998bd7425a9e823269c3.tar.xz
sctp: fast recovery algorithm is per association.
SCTP fast recovery algorithm really applies per association and impacts all transports. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'include/net/sctp/structs.h')
-rw-r--r--include/net/sctp/structs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 9072dd6..d463296 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -895,9 +895,6 @@ struct sctp_transport {
*/
hb_sent:1,
- /* Flag to track the current fast recovery state */
- fast_recovery:1,
-
/* Is the Path MTU update pending on this tranport */
pmtu_pending:1,
@@ -952,9 +949,6 @@ struct sctp_transport {
__u32 burst_limited; /* Holds old cwnd when max.burst is applied */
- /* TSN marking the fast recovery exit point */
- __u32 fast_recovery_exit;
-
/* Destination */
struct dst_entry *dst;
/* Source address. */
@@ -1723,6 +1717,12 @@ struct sctp_association {
/* Highest TSN that is acknowledged by incoming SACKs. */
__u32 highest_sacked;
+ /* TSN marking the fast recovery exit point */
+ __u32 fast_recovery_exit;
+
+ /* Flag to track the current fast recovery state */
+ __u8 fast_recovery;
+
/* The number of unacknowledged data chunks. Reported through
* the SCTP_STATUS sockopt.
*/