]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: use skb_queue_empty_lockless() in poll() handlers
authorEric Dumazet <edumazet@google.com>
Thu, 24 Oct 2019 05:44:50 +0000 (22:44 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:01 +0000 (13:16 +0100)
commit09f6676bf008b474adf95f1638051215c4e75362
tree4bfea1168b06464bcdb95c7dccc975809a0fa4d2
parent172d2fef5a1c26e723af1b0efba65e098633ce7b
net: use skb_queue_empty_lockless() in poll() handlers

BugLink: https://bugs.launchpad.net/bugs/1853208
[ Upstream commit 3ef7cf57c72f32f61e97f8fa401bc39ea1f1a5d4 ]

Many poll() handlers are lockless. Using skb_queue_empty_lockless()
instead of skb_queue_empty() is more appropriate.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
13 files changed:
drivers/isdn/capi/capi.c
net/atm/common.c
net/bluetooth/af_bluetooth.c
net/caif/caif_socket.c
net/core/datagram.c
net/ipv4/tcp.c
net/ipv4/udp.c
net/nfc/llcp_sock.c
net/phonet/socket.c
net/sctp/socket.c
net/tipc/socket.c
net/unix/af_unix.c
net/vmw_vsock/af_vsock.c