aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/tipc/port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c
index 899e08eac2ca..99846a18d94e 100644
--- a/net/tipc/port.c
+++ b/net/tipc/port.c
@@ -1061,6 +1061,7 @@ int tipc_createport(u32 user_ref,
1061 1061
1062 up_ptr = (struct user_port *)kmalloc(sizeof(*up_ptr), GFP_ATOMIC); 1062 up_ptr = (struct user_port *)kmalloc(sizeof(*up_ptr), GFP_ATOMIC);
1063 if (up_ptr == NULL) { 1063 if (up_ptr == NULL) {
1064 warn("Port creation failed, no memory\n");
1064 return -ENOMEM; 1065 return -ENOMEM;
1065 } 1066 }
1066 ref = tipc_createport_raw(NULL, port_dispatcher, port_wakeup, importance); 1067 ref = tipc_createport_raw(NULL, port_dispatcher, port_wakeup, importance);