diff options
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index f6fc5c1a4078..0fd5b4c88358 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -3318,21 +3318,6 @@ int sctp_process_asconf_ack(struct sctp_association *asoc, | |||
3318 | sctp_chunk_free(asconf); | 3318 | sctp_chunk_free(asconf); |
3319 | asoc->addip_last_asconf = NULL; | 3319 | asoc->addip_last_asconf = NULL; |
3320 | 3320 | ||
3321 | /* Send the next asconf chunk from the addip chunk queue. */ | ||
3322 | if (!list_empty(&asoc->addip_chunk_list)) { | ||
3323 | struct list_head *entry = asoc->addip_chunk_list.next; | ||
3324 | asconf = list_entry(entry, struct sctp_chunk, list); | ||
3325 | |||
3326 | list_del_init(entry); | ||
3327 | |||
3328 | /* Hold the chunk until an ASCONF_ACK is received. */ | ||
3329 | sctp_chunk_hold(asconf); | ||
3330 | if (sctp_primitive_ASCONF(asoc, asconf)) | ||
3331 | sctp_chunk_free(asconf); | ||
3332 | else | ||
3333 | asoc->addip_last_asconf = asconf; | ||
3334 | } | ||
3335 | |||
3336 | return retval; | 3321 | return retval; |
3337 | } | 3322 | } |
3338 | 3323 | ||