aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/associola.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/associola.c')
-rw-r--r--net/sctp/associola.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c
index 4bd916c808c1..7824aeaa3d60 100644
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -564,7 +564,7 @@ struct sctp_transport *sctp_assoc_add_peer(struct sctp_association *asoc,
564 return peer; 564 return peer;
565 } 565 }
566 566
567 peer = sctp_transport_new(addr, gfp); 567 peer = sctp_transport_new(&tmp, gfp);
568 if (!peer) 568 if (!peer)
569 return NULL; 569 return NULL;
570 570