diff options
Diffstat (limited to 'net/sctp/bind_addr.c')
-rw-r--r-- | net/sctp/bind_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/bind_addr.c b/net/sctp/bind_addr.c index 41145fe31813..64977ea0f9c5 100644 --- a/net/sctp/bind_addr.c +++ b/net/sctp/bind_addr.c | |||
@@ -162,7 +162,7 @@ int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, | |||
162 | struct sctp_sockaddr_entry *addr; | 162 | struct sctp_sockaddr_entry *addr; |
163 | 163 | ||
164 | /* Add the address to the bind address list. */ | 164 | /* Add the address to the bind address list. */ |
165 | addr = t_new(struct sctp_sockaddr_entry, gfp); | 165 | addr = kzalloc(sizeof(*addr), gfp); |
166 | if (!addr) | 166 | if (!addr) |
167 | return -ENOMEM; | 167 | return -ENOMEM; |
168 | 168 | ||