aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/bind_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r--net/sctp/bind_addr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c
index b8115cb31ae3..2b36e4238170 100644
--- a/net/sctp/bind_addr.c
+++ b/net/sctp/bind_addr.c
@@ -163,6 +163,8 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new,
163 if (!addr->a_h.v4.sin_port) 163 if (!addr->a_h.v4.sin_port)
164 addr->a_h.v4.sin_port = bp->port; 164 addr->a_h.v4.sin_port = bp->port;
165 165
166 flip_to_n(&addr->a, &addr->a_h);
167
166 addr->use_as_src = use_as_src; 168 addr->use_as_src = use_as_src;
167 169
168 INIT_LIST_HEAD(&addr->list); 170 INIT_LIST_HEAD(&addr->list);