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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index 46c5b3c5cb99..dc71d0d83753 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -316,7 +316,9 @@ static void sctp_v6_get_saddr(struct sctp_association *asoc,
316 316
317 if (!asoc) { 317 if (!asoc) {
318 ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, 318 ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL,
319 &daddr->v6.sin6_addr, &saddr->v6.sin6_addr); 319 &daddr->v6.sin6_addr,
320 inet6_sk(asoc->base.sk)->srcprefs,
321 &saddr->v6.sin6_addr);
320 SCTP_DEBUG_PRINTK("saddr from ipv6_get_saddr: " NIP6_FMT "\n", 322 SCTP_DEBUG_PRINTK("saddr from ipv6_get_saddr: " NIP6_FMT "\n",
321 NIP6(saddr->v6.sin6_addr)); 323 NIP6(saddr->v6.sin6_addr));
322 return; 324 return;