diff options
| author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2010-04-30 22:41:10 -0400 |
|---|---|---|
| committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2010-04-30 22:41:10 -0400 |
| commit | cf9b4812e18aab6f86ff998bd7425a9e823269c3 (patch) | |
| tree | 51181bd38679112d3abc32ba6dc4266acad9251c /include | |
| parent | b2cf9b6bd93af1cc047d3356f1c6cc9367fe3731 (diff) | |
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')
| -rw-r--r-- | include/net/sctp/structs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 9072dd67d8ad..d463296d9f79 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -895,9 +895,6 @@ struct sctp_transport { | |||
| 895 | */ | 895 | */ |
| 896 | hb_sent:1, | 896 | hb_sent:1, |
| 897 | 897 | ||
| 898 | /* Flag to track the current fast recovery state */ | ||
| 899 | fast_recovery:1, | ||
| 900 | |||
| 901 | /* Is the Path MTU update pending on this tranport */ | 898 | /* Is the Path MTU update pending on this tranport */ |
| 902 | pmtu_pending:1, | 899 | pmtu_pending:1, |
| 903 | 900 | ||
| @@ -952,9 +949,6 @@ struct sctp_transport { | |||
| 952 | 949 | ||
| 953 | __u32 burst_limited; /* Holds old cwnd when max.burst is applied */ | 950 | __u32 burst_limited; /* Holds old cwnd when max.burst is applied */ |
| 954 | 951 | ||
| 955 | /* TSN marking the fast recovery exit point */ | ||
| 956 | __u32 fast_recovery_exit; | ||
| 957 | |||
| 958 | /* Destination */ | 952 | /* Destination */ |
| 959 | struct dst_entry *dst; | 953 | struct dst_entry *dst; |
| 960 | /* Source address. */ | 954 | /* Source address. */ |
| @@ -1723,6 +1717,12 @@ struct sctp_association { | |||
| 1723 | /* Highest TSN that is acknowledged by incoming SACKs. */ | 1717 | /* Highest TSN that is acknowledged by incoming SACKs. */ |
| 1724 | __u32 highest_sacked; | 1718 | __u32 highest_sacked; |
| 1725 | 1719 | ||
| 1720 | /* TSN marking the fast recovery exit point */ | ||
| 1721 | __u32 fast_recovery_exit; | ||
| 1722 | |||
| 1723 | /* Flag to track the current fast recovery state */ | ||
| 1724 | __u8 fast_recovery; | ||
| 1725 | |||
| 1726 | /* The number of unacknowledged data chunks. Reported through | 1726 | /* The number of unacknowledged data chunks. Reported through |
| 1727 | * the SCTP_STATUS sockopt. | 1727 | * the SCTP_STATUS sockopt. |
| 1728 | */ | 1728 | */ |
