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 756025c98e85..bf6e6bd553c0 100644
--- a/net/sctp/associola.c
+++ b/net/sctp/associola.c
@@ -355,7 +355,7 @@ struct sctp_association *sctp_association_new(const struct sctp_endpoint *ep,
355{ 355{
356 struct sctp_association *asoc; 356 struct sctp_association *asoc;
357 357
358 asoc = t_new(struct sctp_association, gfp); 358 asoc = kzalloc(sizeof(*asoc), gfp);
359 if (!asoc) 359 if (!asoc)
360 goto fail; 360 goto fail;
361 361