call_accept.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) call_accept.c (4c1295dccc0afe0905b6ca4c62ade7f2406f2cfb)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* incoming call handling
3 *
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 70 unchanged lines hidden (view full) ---

79
80 conn = rxrpc_prealloc_service_connection(rxnet, gfp);
81 if (!conn)
82 return -ENOMEM;
83 b->conn_backlog[head] = conn;
84 smp_store_release(&b->conn_backlog_head,
85 (head + 1) & (size - 1));
86
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* incoming call handling
3 *
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
5 * Written by David Howells (dhowells@redhat.com)
6 */
7
8#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

--- 70 unchanged lines hidden (view full) ---

79
80 conn = rxrpc_prealloc_service_connection(rxnet, gfp);
81 if (!conn)
82 return -ENOMEM;
83 b->conn_backlog[head] = conn;
84 smp_store_release(&b->conn_backlog_head,
85 (head + 1) & (size - 1));
86
87 trace_rxrpc_conn(conn, rxrpc_conn_new_service,
87 trace_rxrpc_conn(conn->debug_id, rxrpc_conn_new_service,
88 atomic_read(&conn->usage), here);
89 }
90
91 /* Now it gets complicated, because calls get registered with the
92 * socket here, particularly if a user ID is preassigned by the user.
93 */
94 call = rxrpc_alloc_call(rx, gfp, debug_id);
95 if (!call)

--- 560 unchanged lines hidden ---
88 atomic_read(&conn->usage), here);
89 }
90
91 /* Now it gets complicated, because calls get registered with the
92 * socket here, particularly if a user ID is preassigned by the user.
93 */
94 call = rxrpc_alloc_call(rx, gfp, debug_id);
95 if (!call)

--- 560 unchanged lines hidden ---