]> Pileus Git - ~andy/linux/commitdiff
[SCTP]: Annotate tsn_dups.
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 21 Nov 2006 01:01:23 +0000 (17:01 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:26:22 +0000 (21:26 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/tsnmap.h

index 021947da70ea86beeb1524c1a5aff8b0b028a29a..70a824df6f6007a65134bff615088056d81ba5cb 100644 (file)
@@ -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;