[bug report] rxrpc: Make the I/O thread take over the call and local processor work
Dan Carpenter
error27 at gmail.com
Thu Dec 15 06:52:11 PST 2022
On Thu, Dec 15, 2022 at 01:55:49PM +0000, David Howells wrote:
> diff --git a/net/rxrpc/io_thread.c b/net/rxrpc/io_thread.c
> index e6b9f0ceae17..1ad067d66fb6 100644
> --- a/net/rxrpc/io_thread.c
> +++ b/net/rxrpc/io_thread.c
> @@ -292,7 +292,7 @@ static int rxrpc_input_packet(struct rxrpc_local *local, struct sk_buff **_skb)
> skb->mark = RXRPC_SKB_MARK_REJECT_ABORT;
> reject_packet:
> rxrpc_reject_packet(local, skb);
> - return ret;
> + return 0;
rxrpc_input_packet() returns a mix of zero, negatives and true. But
then the caller doesn't check the results so none of it matters...
regards,
dan carpenter
More information about the linux-afs
mailing list