commit | 6dfb4367cd911d2b03878fffa045d545ba4507f6 | [log] [tgz] |
---|---|---|
author | Paolo Abeni <pabeni@redhat.com> | Tue May 16 11:20:15 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue May 16 15:41:30 2017 -0400 |
tree | d69a117f59aeb3a96f42f6b452b471becfa9d803 | |
parent | 2276f58ac5890e58d2b6a48b95493faff7347e3a [diff] |
udp: keep the sk_receive_queue held when splicing 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 <pabeni@redhat.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>