diff options
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 303830b40ab3..cc1b01152c34 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -2466,7 +2466,7 @@ static __be16 sctp_process_asconf_param(struct sctp_association *asoc, | |||
2466 | sctp_assoc_del_peer(asoc, &tmp_addr); | 2466 | sctp_assoc_del_peer(asoc, &tmp_addr); |
2467 | break; | 2467 | break; |
2468 | case SCTP_PARAM_SET_PRIMARY: | 2468 | case SCTP_PARAM_SET_PRIMARY: |
2469 | peer = sctp_assoc_lookup_paddr(asoc, &addr); | 2469 | peer = sctp_assoc_lookup_paddr(asoc, &tmp_addr); |
2470 | if (!peer) | 2470 | if (!peer) |
2471 | return SCTP_ERROR_INV_PARAM; | 2471 | return SCTP_ERROR_INV_PARAM; |
2472 | 2472 | ||