Re: [PATCH net-next v2 3/3] udp: keep the sk_receive_queue held when splicing

2017-05-16 Thread Eric Dumazet
On Tue, 2017-05-16 at 11:20 +0200, Paolo Abeni wrote: > On packet reception, when we are forced to splice the > sk_receive_queue, we can keep the related lock held, so > that we can avoid re-acquiring it, if fwd memory > scheduling is required. > > v1 -> v2: > the rx_queue_lock_held param in udp

[PATCH net-next v2 3/3] udp: keep the sk_receive_queue held when splicing

2017-05-16 Thread Paolo Abeni
On packet reception, when we are forced to splice the sk_receive_queue, we can keep the related lock held, so that we can avoid re-acquiring it, if fwd memory scheduling is required. v1 -> v2: the rx_queue_lock_held param in udp_rmem_release() is now a bool Signed-off-by: Paolo Abeni --- ne