sctp: fix the issue sctp requeue auth chunk incorrectly
[deliverable/linux.git] / net / sctp / output.c
index 7425f6c238889d8eb33edfb3f2e2eb7af39847e8..1f1682b9a6a82cc18d2571cf8287cfd194c7840d 100644 (file)
@@ -610,7 +610,8 @@ int sctp_packet_transmit(struct sctp_packet *packet, gfp_t gfp)
                                /* We will generate more packets, so re-queue
                                 * auth chunk.
                                 */
-                               list_add(&chunk->list, &packet->chunk_list);
+                               list_add(&packet->auth->list,
+                                        &packet->chunk_list);
                        } else {
                                sctp_chunk_free(packet->auth);
                                packet->auth = NULL;
This page took 0.039875 seconds and 5 git commands to generate.