projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: sctp: get rid of t_new macro for kzalloc
[deliverable/linux.git]
/
net
/
sctp
/
bind_addr.c
diff --git
a/net/sctp/bind_addr.c
b/net/sctp/bind_addr.c
index 41145fe31813bc70907a9bdf9bba92886246b5b6..64977ea0f9c55e02988377ef6e2de73693607dea 100644
(file)
--- 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,
struct sctp_sockaddr_entry *addr;
/* Add the address to the bind address list. */
- addr =
t_new(struct sctp_sockaddr_entry
, gfp);
+ addr =
kzalloc(sizeof(*addr)
, gfp);
if (!addr)
return -ENOMEM;
This page took
0.039687 seconds
and
5
git commands to generate.