Re: [PATCH net-next v2 2/2] udp: do fwd memory scheduling on dequeue

2016-11-04 Thread Eric Dumazet
On Fri, 2016-11-04 at 11:28 +0100, Paolo Abeni wrote: > A new argument is added to __skb_recv_datagram to provide > an explicit skb destructor, invoked under the receive queue > lock. > The UDP protocol uses such argument to perform memory > reclaiming on dequeue, so that the UDP protocol does not

[PATCH net-next v2 2/2] udp: do fwd memory scheduling on dequeue

2016-11-04 Thread Paolo Abeni
A new argument is added to __skb_recv_datagram to provide an explicit skb destructor, invoked under the receive queue lock. The UDP protocol uses such argument to perform memory reclaiming on dequeue, so that the UDP protocol does not set anymore skb->desctructor. Instead explicit memory reclaiming