projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a751352
)
[TIPC]: Added missing warning for out-of-memory condition
author
Allan Stephens
<allan.stephens@windriver.com>
Mon, 26 Jun 2006 06:50:01 +0000
(23:50 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 26 Jun 2006 06:50:01 +0000
(23:50 -0700)
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Per Liden <per.liden@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/port.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/port.c
b/net/tipc/port.c
index 899e08eac2ca93003189a5c552c49f5f6b3ca4d0..99846a18d94e19b46301a6cef57c057802a3e818 100644
(file)
--- a/
net/tipc/port.c
+++ b/
net/tipc/port.c
@@
-1061,6
+1061,7
@@
int tipc_createport(u32 user_ref,
up_ptr = (struct user_port *)kmalloc(sizeof(*up_ptr), GFP_ATOMIC);
if (up_ptr == NULL) {
+ warn("Port creation failed, no memory\n");
return -ENOMEM;
}
ref = tipc_createport_raw(NULL, port_dispatcher, port_wakeup, importance);