]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sctp/ipv6.c
[SCTP]: Annotate ->dst_saddr()
[net-next-2.6.git] / net / sctp / ipv6.c
index 8ebd177296ba3c62b461ba285fec52661550e668..6139d1d964ebcff68b9748c16d78781efffee3f9 100644 (file)
@@ -434,7 +434,7 @@ static int sctp_v6_to_addr_param(const union sctp_addr *addr,
 
 /* Initialize a sctp_addr from a dst_entry. */
 static void sctp_v6_dst_saddr(union sctp_addr *addr, struct dst_entry *dst,
-                             unsigned short port)
+                             __be16 port)
 {
        struct rt6_info *rt = (struct rt6_info *)dst;
        addr->sa.sa_family = AF_INET6;