aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r--net/sctp/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index 8ebd177296ba..6139d1d964eb 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -434,7 +434,7 @@ static int sctp_v6_to_addr_param(const union sctp_addr *addr,
434 434
435/* Initialize a sctp_addr from a dst_entry. */ 435/* Initialize a sctp_addr from a dst_entry. */
436static void sctp_v6_dst_saddr(union sctp_addr *addr, struct dst_entry *dst, 436static void sctp_v6_dst_saddr(union sctp_addr *addr, struct dst_entry *dst,
437 unsigned short port) 437 __be16 port)
438{ 438{
439 struct rt6_info *rt = (struct rt6_info *)dst; 439 struct rt6_info *rt = (struct rt6_info *)dst;
440 addr->sa.sa_family = AF_INET6; 440 addr->sa.sa_family = AF_INET6;