recvmsg.c (4aea86b4033f92f01547e6d4388d4451ae9b0980) recvmsg.c (a343b174b4bdde851033996960bca5ad1394d04b)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* RxRPC recvmsg() implementation
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

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

129bool rxrpc_abort_call(const char *why, struct rxrpc_call *call,
130 rxrpc_seq_t seq, u32 abort_code, int error)
131{
132 bool ret;
133
134 write_lock(&call->state_lock);
135 ret = __rxrpc_abort_call(why, call, seq, abort_code, error);
136 write_unlock(&call->state_lock);
1// SPDX-License-Identifier: GPL-2.0-or-later
2/* RxRPC recvmsg() implementation
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

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

129bool rxrpc_abort_call(const char *why, struct rxrpc_call *call,
130 rxrpc_seq_t seq, u32 abort_code, int error)
131{
132 bool ret;
133
134 write_lock(&call->state_lock);
135 ret = __rxrpc_abort_call(why, call, seq, abort_code, error);
136 write_unlock(&call->state_lock);
137 if (ret && test_bit(RXRPC_CALL_EXPOSED, &call->flags))
138 rxrpc_send_abort_packet(call);
137 return ret;
138}
139
140/*
141 * Pass a call terminating message to userspace.
142 */
143static int rxrpc_recvmsg_term(struct rxrpc_call *call, struct msghdr *msg)
144{

--- 515 unchanged lines hidden ---
139 return ret;
140}
141
142/*
143 * Pass a call terminating message to userspace.
144 */
145static int rxrpc_recvmsg_term(struct rxrpc_call *call, struct msghdr *msg)
146{

--- 515 unchanged lines hidden ---