diff options
-rw-r--r-- | include/net/sctp/tsnmap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/tsnmap.h b/include/net/sctp/tsnmap.h index 021947da70ea..70a824df6f60 100644 --- a/include/net/sctp/tsnmap.h +++ b/include/net/sctp/tsnmap.h | |||
@@ -105,7 +105,7 @@ struct sctp_tsnmap { | |||
105 | * every SACK. Store up to SCTP_MAX_DUP_TSNS worth of | 105 | * every SACK. Store up to SCTP_MAX_DUP_TSNS worth of |
106 | * information. | 106 | * information. |
107 | */ | 107 | */ |
108 | __u32 dup_tsns[SCTP_MAX_DUP_TSNS]; | 108 | __be32 dup_tsns[SCTP_MAX_DUP_TSNS]; |
109 | __u16 num_dup_tsns; | 109 | __u16 num_dup_tsns; |
110 | 110 | ||
111 | /* Record gap ack block information here. */ | 111 | /* Record gap ack block information here. */ |
@@ -162,7 +162,7 @@ static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map) | |||
162 | } | 162 | } |
163 | 163 | ||
164 | /* Return pointer to duplicate tsn array as needed by SACK. */ | 164 | /* Return pointer to duplicate tsn array as needed by SACK. */ |
165 | static inline __u32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) | 165 | static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map) |
166 | { | 166 | { |
167 | map->num_dup_tsns = 0; | 167 | map->num_dup_tsns = 0; |
168 | return map->dup_tsns; | 168 | return map->dup_tsns; |