Merge tag 'pm+acpi-4.6-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[deliverable/linux.git] / net / sctp / sm_make_chunk.c
index e47abf254ff3481de782de0f48a535b9a562903f..7f0bf798205ba3c5311bf57ace66aaaa57cb0367 100644 (file)
@@ -1849,7 +1849,8 @@ no_hmac:
        /* Also, add the destination address. */
        if (list_empty(&retval->base.bind_addr.address_list)) {
                sctp_add_bind_addr(&retval->base.bind_addr, &chunk->dest,
-                               SCTP_ADDR_SRC, GFP_ATOMIC);
+                                  sizeof(chunk->dest), SCTP_ADDR_SRC,
+                                  GFP_ATOMIC);
        }
 
        retval->next_tsn = retval->c.initial_tsn;
This page took 0.049453 seconds and 5 git commands to generate.