aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/tsnmap.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:01:23 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:26:22 -0800
commit72f17e1c0984fbdb60abf245d81b947393910100 (patch)
treee8490f677602684e5d57436ab7278fab941ee190 /include/net/sctp/tsnmap.h
parent[SCTP]: SCTP_CMD_ASSOC_FAILED annotations. (diff)
downloadlinux-dev-72f17e1c0984fbdb60abf245d81b947393910100.tar.xz
linux-dev-72f17e1c0984fbdb60abf245d81b947393910100.zip
[SCTP]: Annotate tsn_dups.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp/tsnmap.h')
-rw-r--r--include/net/sctp/tsnmap.h4
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 {
* every SACK. Store up to SCTP_MAX_DUP_TSNS worth of
* information.
*/
- __u32 dup_tsns[SCTP_MAX_DUP_TSNS];
+ __be32 dup_tsns[SCTP_MAX_DUP_TSNS];
__u16 num_dup_tsns;
/* Record gap ack block information here. */
@@ -162,7 +162,7 @@ static inline __u16 sctp_tsnmap_num_dups(struct sctp_tsnmap *map)
}
/* Return pointer to duplicate tsn array as needed by SACK. */
-static inline __u32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map)
+static inline __be32 *sctp_tsnmap_get_dups(struct sctp_tsnmap *map)
{
map->num_dup_tsns = 0;
return map->dup_tsns;