[lkml]   [2018]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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:


and can also be found on the following branch:

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(-)

 \ /
  Last update: 2018-10-05 15:43    [W:0.062 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site