aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r--net/sctp/sm_make_chunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 7fd6a6b68614..46f54188f00a 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1692,8 +1692,8 @@ no_hmac:
1692 1692
1693 /* Also, add the destination address. */ 1693 /* Also, add the destination address. */
1694 if (list_empty(&retval->base.bind_addr.address_list)) { 1694 if (list_empty(&retval->base.bind_addr.address_list)) {
1695 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest, 1, 1695 sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest,
1696 GFP_ATOMIC); 1696 SCTP_ADDR_SRC, GFP_ATOMIC);
1697 } 1697 }
1698 1698
1699 retval->next_tsn = retval->c.initial_tsn; 1699 retval->next_tsn = retval->c.initial_tsn;
@@ -3016,7 +3016,7 @@ static int sctp_asconf_param_success(struct sctp_association *asoc,
3016 local_bh_disable(); 3016 local_bh_disable();
3017 list_for_each_entry(saddr, &bp->address_list, list) { 3017 list_for_each_entry(saddr, &bp->address_list, list) {
3018 if (sctp_cmp_addr_exact(&saddr->a, &addr)) 3018 if (sctp_cmp_addr_exact(&saddr->a, &addr))
3019 saddr->use_as_src = 1; 3019 saddr->state = SCTP_ADDR_SRC;
3020 } 3020 }
3021 local_bh_enable(); 3021 local_bh_enable();
3022 break; 3022 break;