[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <153874697684.18195.15264114363303320691.stgit@warthog.procyon.org.uk>
Date: Fri, 05 Oct 2018 14:42:56 +0100
From: David Howells <dhowells@...hat.com>
To: netdev@...r.kernel.org
Cc: dhowells@...hat.com, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH net 0/2] rxrpc: Fixes
Here are two fixes for AF_RXRPC:
(1) Fix some places that are doing things in the wrong net namespace.
(2) Fix the reception of UDP packets in three ways:
(a) Close the window between binding the socket and setting the
data_ready hook in which packets can come in and get lodged in the
receive queue without data_ready seeing them.
(b) Make sure the UDP receive queue is drained before returning from
the data_ready hook.
(c) Ignore Tx errors returned by skb_recv_udp().
The patches are tagged here:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
rxrpc-fixes-20181005
and can also be found on the following branch:
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes
David
---
David Howells (2):
rxrpc: Fix some missed refs to init_net
rxrpc: Fix the data_ready handler
net/rxrpc/ar-internal.h | 10 ++++---
net/rxrpc/call_accept.c | 2 +
net/rxrpc/call_object.c | 4 +--
net/rxrpc/conn_client.c | 10 ++++---
net/rxrpc/input.c | 68 ++++++++++++++++++++++++++--------------------
net/rxrpc/local_object.c | 11 ++++---
net/rxrpc/peer_object.c | 28 ++++++++++++-------
7 files changed, 76 insertions(+), 57 deletions(-)
Powered by blists - more mailing lists