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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 13109cfc3ae5..b8e0f72b319f 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -1032,6 +1032,7 @@ void sctp_init_addrs(struct sctp_chunk *chunk, union sctp_addr *src,
1032 union sctp_addr *dest) 1032 union sctp_addr *dest)
1033{ 1033{
1034 memcpy(&chunk->source_h, src, sizeof(union sctp_addr)); 1034 memcpy(&chunk->source_h, src, sizeof(union sctp_addr));
1035 flip_to_n(&chunk->source, &chunk->source_h);
1035 memcpy(&chunk->dest, dest, sizeof(union sctp_addr)); 1036 memcpy(&chunk->dest, dest, sizeof(union sctp_addr));
1036} 1037}
1037 1038